link
- Collocations.link(other_fileset, linker=None)
Link this fileset with another FileSet
If one file is read from this fileset, its corresponding file from other_fileset will be read, too. Their content will then be merged by using the file handler’s data merging function. If it is not implemented, it tries to derive a standard merging function from known data types.
- Parameters:
other_fileset – Other FileSet-like object.
linker – Reference to a function that searches for the corresponding file in other_fileset for a given file from this fileset. Must accept other_fileset as first and a
FileInfo
object as parameters. It must return a FileInfo of the corresponding file. If none is given,get_filename()
will be used as default.
- Returns:
None