meridian — API
inspect_bundle
Section titled “inspect_bundle”def inspect_bundle(path: Path) -> tuple[dict, Snapshot, Snapshot]:diff_snapshots
Section titled “diff_snapshots”def diff_snapshots(old: Snapshot, new: Snapshot) -> dict:build_parser
Section titled “build_parser”def build_parser() -> argparse.ArgumentParser:def main(argv: list[str] | None = None) -> int:MeridianError
Section titled “MeridianError”class MeridianError(Exception):RepositoryNotFound
Section titled “RepositoryNotFound”class RepositoryNotFound(MeridianError):RepositoryExists
Section titled “RepositoryExists”class RepositoryExists(MeridianError):SnapshotNotFound
Section titled “SnapshotNotFound”class SnapshotNotFound(MeridianError):SnapshotConflict
Section titled “SnapshotConflict”class SnapshotConflict(MeridianError):IntegrityError
Section titled “IntegrityError”class IntegrityError(MeridianError):UnsafePathError
Section titled “UnsafePathError”class UnsafePathError(MeridianError):UnsupportedFileType
Section titled “UnsupportedFileType”class UnsupportedFileType(MeridianError):sha256_bytes
Section titled “sha256_bytes”def sha256_bytes(data: bytes) -> str:canonical_json_bytes
Section titled “canonical_json_bytes”def canonical_json_bytes(value: Any) -> bytes:hash_canonical
Section titled “hash_canonical”def hash_canonical(value: Any) -> str:IgnoreRule:
Section titled “IgnoreRule:”class IgnoreRule:IgnoreMatcher:
Section titled “IgnoreMatcher:”class IgnoreMatcher:validate_relative_path
Section titled “validate_relative_path”def validate_relative_path(path: str) -> None:Chunk:
Section titled “Chunk:”class Chunk:Entry:
Section titled “Entry:”class Entry:Snapshot:
Section titled “Snapshot:”class Snapshot:compute_root_hash
Section titled “compute_root_hash”def compute_root_hash(entries: Iterable[Entry], chunk_size: int) -> str:Repository:
Section titled “Repository:”src/meridian_sync/repository.py
class Repository: