Modules§
- bencode_
serializer - bisect_
multi - Bisection lookup for multiple keys over a byte-addressable content.
- branch
- Reading and writing a bzr branch (Branch Format 7).
- btree_
builder - B+Tree graph index builder.
- btree_
graph_ index - A standalone reader for B+Tree graph index files.
- btree_
index - B+Tree graph index format helpers.
- btree_
serializer - Pure-Rust core of the btree CHK leaf-node serializer.
- bzrdir
- Opening
.bzrcontrol directories. - chk_
inventory - chk_map
- Persistent maps from tuple_of_strings->string using CHK stores.
- chunk_
writer - Fixed-size compressed chunk writer.
- config
- Breezy’s configuration system, ported from
breezy/config.py. - dirstate
- fifo_
cache - First-in-first-out caches.
- filters
- gen_ids
- globbing
- Tools for converting globs to regular expressions.
- groupcompress
- Groupcompress format: delta wire encoding, block framing, and the
compressor / manager glue that backs the Python
GroupCompressVersionedFiles. - hashcache
- ignores
- Parsing of ignore files (
.bzrignoreand the user ignore config). - index
- Graph index serialization.
- inventory
- inventory_
delta - Inventory delta serialisation.
- key_
mapper - Key-to-partition mappers used by versioned-file storage layouts.
- knit
- Knit format parsing and serialization.
- lock
- File locking with both fcntl OS-level locks and in-process bookkeeping.
- lockdir
- On-disk lock directories (
LockDir). - lru_
cache - Least-recently-used cache ordering engine.
- multiparent
- Multi-parent diff representation.
- osutils
- pack
- Bazaar container format 1 serialization.
- pack_
repo - Pack repository helpers.
- plan_
merge - Merge plan generation. Mirrors
bzrformats.merge. - recordcounter
- Record counting support for showing progress of revision fetch.
- repository
- Repository access: format metadata/registry plus the pack readers.
- revision
- rio
- serializer
- smart
- testament
- Testaments: signable summaries of a revision.
- textinv
- Text-based inventory format (
# bzr inventory format 3). - textmerge
- Text merge functionality.
- transform
- Tree transforms: the staged, applied-atomically model of tree changes.
- transport
- Storage transport abstraction.
- tuned_
gzip - Bazaar’s hand-rolled gzip writer.
- versionedfile
- views
- The
viewsworking-tree control file (Bazaar views format 1). - weave
- Weave storage core algorithms.
- workingtree
- Working trees: the user’s checkout on disk plus its tracked state.
- xml_
serializer
Macros§
- declare_
adapter - Register a
KnitAdapterimplementation solookup_adaptercan find it. Pass a zero-sized type that implementsKnitAdapter; the macro builds a static instance and submits it throughinventory. - declare_
branch_ format - Declare a branch format: define a
staticBranchFormatand register it. Capability fields default tofalse; a declaration states only what differs. - declare_
bzrdir_ format - Declare a control-directory format: define a
staticControlDirFormatand register it. A declaration states only the fields that differ fromControlDirFormat::DEFAULT. - declare_
repository_ format - Declare a repository format: define a
staticRepositoryFormatand register it so [registry] can find it by marker string. - declare_
workingtree_ format - Declare a working-tree format: define a
staticWorkingTreeFormatand register it. Capability fields default tofalse.