AttocubeScan.file¶
- AttocubeScan.file(name, value, create=True, pathsplit=None)¶
Recursely add groups in order to put the named value into a virtual tree of
BaseFolder.- Parameters:
fldr (BaseFolder) – DataFolder instance when not a bound method.
name (str) – A name (which may be a nested path) of the object to file.
value (metadataObject) – The object to be filed - it should be an instance of
BaseFolder.type.
- Keyword Aprameters:
- create(bool):
Whether to create missing groups or to raise an error (default True to create groups).
- pathsplit(str or None):
Character to use to split the name into path components. Defaults to using os.path.split()
- Returns:
(BaseFolder) – A reference to the group where the value was eventually filed