Initialize a DVS repository in the given directory
Description
Section titled “Description”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"))Arguments
Section titled “Arguments”| Argument | Description |
|---|---|
storage_path | Path to the storage directory where file contents are kept. |
root_dir | Repository root directory. Defaults to the current working directory. |
group | Unix group name to set on stored files for shared access. NULL uses your primary group. |
metadata_folder_name | Name of the metadata folder. Defaults to .dvs. |
compression | Compression method for stored files. One of "zstd" (default) or "none". |
A one-row tibble with the configuration written to dvs.toml:
compression ("zstd" or "none"), metadata_folder_name (NA when
it was not given, so the folder is .dvs), backend_path (the absolute
path of the storage directory) and backend_group (NA when no group was
given and your primary group could not be found).