Expand description
Shared fetch+decrypt pipeline for importing published commits from IPFS.
Used by both fork (creates new repo) and pull-request (creates branch
in existing repo). Consolidates the fetch commit → fetch metadata → fetch
shards pipeline into a single reusable function.
Structs§
- Foreign
Commit - Result of fetching and decrypting a published commit.
- Import
Options - Options for importing a published commit from IPFS.
Functions§
- fetch_
published_ commit - Fetch a published commit from IPFS, decrypt it with a content key, and store all objects (commit, metadata, manifest, shards) in the local store.
- objects_
store - Create an FsStore from a void directory’s objects path.