Expand description
The Repository handle: on-disk layout, refs, HEAD and object I/O.
Structs§
- Repository
- A handle to an on-disk cadvm repository.
Enums§
- Head
- Where HEAD currently points.
Constants§
- DEFAULT_
BRANCH - The default branch created by
init. - REPO_
DIR - Name of the repository metadata directory.
Functions§
- validate_
branch_ name - Validate a branch name: non-empty, no path separators, whitespace, or leading dash, and not a dotted special name.