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

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