hubvault.repo
Repository package exports for hubvault.
This package keeps hubvault.repo as the stable import path for the local
repository backend while allowing the implementation to be split into smaller
submodules.
The package contains:
FORMAT_MARKER- Repository format marker stringFORMAT_VERSION- Repository format version integerDEFAULT_BRANCH- Default branch nameOBJECT_HASH- Internal object-hash algorithm nameLARGE_FILE_THRESHOLD- Default threshold for chunked storage
Example:
>>> from hubvault.repo import DEFAULT_BRANCH, LARGE_FILE_THRESHOLD
>>> DEFAULT_BRANCH
'main'
>>> LARGE_FILE_THRESHOLD > 0
True
__all__
- hubvault.repo.__all__ = ['DEFAULT_BRANCH', 'FORMAT_MARKER', 'FORMAT_VERSION', 'LARGE_FILE_THRESHOLD', 'OBJECT_HASH']
Built-in mutable sequence.
If no argument is given, the constructor creates a new empty list. The argument must be an iterable if specified.