Expand description
Registry and repository synchronization logic for Zoi.
This crate handles cloning and updating package registries, rebuilding the
local SQLite metadata cache, and synchronizing external Git repositories.
Registry content can arrive either as a Git clone or as a zstd-compressed
.zrepo snapshot. See the zrepo module for the snapshot transport and
its incremental .zdelta updates.
Modules§
- zrepo
- Support for zstd-compressed registry databases (
.zrepo).
Functions§
- fetch_
repo_ config_ over_ http - Fetches and parses
repo.yamlfrom an HTTP(S) URL. - is_
repo_ yaml_ url - Returns true when
urllooks like it points directly at arepo.yamldocument rather than at a Git repository. - resolve_
registry_ from_ url - Resolves a registry’s full identity from a URL that points at a
repo.yamldocument. - run
- The primary entry point for synchronizing Zoi registries and system state.
- run_
local - Performs a project-local sync of registries.