Exdir

Documentation for Exdir.

Exdir.RawType

Raw objects are simple folders with any content.

Raw objects currently have no features apart from showing their path.

source
Exdir.create_object_directoryMethod
create_object_directory(directory, metadata)

Create object directory and meta file if the directory doesn't already exist.

TODO say something about expected correctness of metadata dict.

source
Exdir.exdiropenMethod
exdiropen(directory::AbstractString, mode::AbstractString)

Opens an ExDir tree at path directory.

"r": Open for reading only, failing if no file exists "r+": Open for reading and writing, failing if no file exists "w"/"w+": Open for reading and writing, overwriting the file if it already exists "a"/"a+": Open for reading and writing, creating a new file if none exists, but preserving the existing file if one is present

source
Exdir.form_locationMethod
form_location(directory)

Prepare the given directory location for use by removing any trailing slashes/directory signifiers, ensuring the directory ends with the .exdir extension, and making the directory path absolute.

source
Exdir.is_exdir_objectMethod

WARNING: Does not test of inside exdir directory, only if the object can be an exdir object (i.e. a directory).

source