Skip to main content

Module repo

Module repo 

Source
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.