Skip to content

Initialize a DVS repository in the given directory

Creates the .dvs metadata folder and configures storage for versioned files.

dvs_init(
storage_path,
root_dir = NULL,
group = NULL,
metadata_folder_name = NULL,
compression = c("zstd", "none")
)
ArgumentDescription
storage_pathPath to the storage directory where file contents are kept.
root_dirRepository root directory. Defaults to the current working directory.
groupUnix group name to set on stored files for shared access.
metadata_folder_nameName of the metadata folder. Defaults to .dvs.
compressionCompression method for stored files. One of "zstd" (default) or "none".