Skip to main content
← dvs documentation Rust API reference

Module paths

Module paths 

Source

Structs§

DvsPaths
We always need to figure out where the user is in a project, where the root is etc. This struct handles all of it so the rest of the code doesn’t have to
PathFilter
Which paths to get use for status/get eg you can pass dir1/ dir2/ and it will expand to dir1/* dir2/* If recursive is true, then it will expand to dir1//* dir2//*

Enums§

AddPathStatus
Result of validating a file path for add.
GetPathStatus
Result of validating a file path for get.

Constants§

CONFIG_FILE_NAME
DEFAULT_FOLDER_NAME

Functions§

find_repo_root
Finds the root of a project by walking up from the given directory until a dvs.toml is found