Expand description
Import git repositories into panproto-vcs. Import git repositories into panproto-vcs.
Walks the git commit DAG topologically, parses each commit’s file tree into a panproto project schema, and creates panproto-vcs commits that preserve authorship, timestamps, and parent structure.
Structs§
- Import
Result - Result of importing a git repository.
Enums§
- Blob
Cache Load Error - Error loading a blob-to-schema cache.
Constants§
- BLOB_
CACHE_ FILE - Standard on-disk name of the blob-OID to
FileSchemaObjectIdcache.
Functions§
- import_
git_ repo - Import a range of git commits into a panproto-vcs store.
- import_
git_ repo_ incremental - Incrementally import a range of git commits into a panproto-vcs store.
- import_
git_ repo_ persistent - Import a git repository, persisting the blob-to-schema cache
under
cache_dir/<BLOB_CACHE_FILE>so subsequent imports deduplicate unchanged files without re-parsing them. - import_
git_ repo_ with_ cache - Import a git repository using per-file content addressing.
- load_
blob_ cache - Load a blob-to-schema cache from a plain-text file.
- save_
blob_ cache - Persist a blob-to-schema cache atomically.
Type Aliases§
- Blob
Schema Cache - Cache mapping a
(git blob OID, protocol)pair to the content-addressedObjectIdof theFileSchemaObjectproduced by parsing it.