Expand description
Helpers to gather the VCS information for cargo package
.
StructsΒ§
- GitVcs
Info - Represents the Git VCS information when packaging.
- VcsInfo
- Represents the VCS information when packaging.
FunctionsΒ§
- check_
repo_ state - Checks if the package source is in a git DVCS repository.
- collect_
statuses π - Helper to collect dirty statuses for a single repo.
- dirty_
files_ πoutside_ pkg_ root - Checks whether βincludedβ source files outside package root have been modified.
- git π
- The real git status check starts from here.
- relative_
pathspec π - Use pathspec so git only matches a certain path prefix
- status_
submodules π - Helper to collect dirty statuses while recursing into submodules.
- warn_
symlink_ πchecked_ out_ as_ plain_ text_ file - Warns if any symlinks were checked out as plain text files.