Expand description
Operation-scoped Git snapshot identity and canonical object graph. Operation-scoped Git snapshot identity and canonical object-graph contracts.
Structs§
- GitSha1
Object Id - Exact lowercase 40-hex Git SHA-1 object identifier.
- GitSnapshot
Import Inputs - Exact retained files and directories authorized for one snapshot object import.
- GitSnapshot
Keepalive Ref - Exact local keepalive ref for one snapshot operation.
- GitSnapshot
Object Graph V1 - Complete identity of the two blobs, three nested trees, and parentless commit.
- GitSnapshot
Precompute Inputs - Retained exact staged payloads for zero-write Git object precomputation.
- GitSnapshot
Source Ref - Exact source custom ref for one snapshot operation.
- GitSnapshot
Stage Directory - Retained create-only directory for assembling one private operation stage.
- GitSnapshot
Stage Locator V1 - Path-free durable authority for reopening one exact completed stage.
- GitSnapshot
Stage V1 - Compact create-only metadata that binds a private stage to its canonical graph.
Enums§
- GitSnapshot
Error - Stable, path-free snapshot contract failure.
- GitSnapshot
Object Kind - Exact Git object type accepted by snapshot hash/import callbacks.
Constants§
- GIT_
SNAPSHOT_ GRAPH_ SCHEMA_ VERSION - Schema version of the six-object Git graph identity.
- GIT_
SNAPSHOT_ KEEPALIVE_ REF_ PREFIX - Private local namespace retaining snapshot objects across retry lineages.
- GIT_
SNAPSHOT_ STAGE_ ARCHIVE_ FILE - Create-only staged archive filename.
- GIT_
SNAPSHOT_ STAGE_ DESCRIPTOR_ FILE - Create-only staged descriptor filename.
- GIT_
SNAPSHOT_ STAGE_ DIRECTORY - Directory below the private Git isolation root containing operation stages.
- GIT_
SNAPSHOT_ STAGE_ LOCATOR_ SCHEMA_ VERSION - Schema version of the path-free durable stage locator.
- GIT_
SNAPSHOT_ STAGE_ METADATA_ FILE - Create-only compact stage metadata filename.
- GIT_
SNAPSHOT_ STAGE_ SCHEMA_ VERSION - Schema version of the compact private staging record.
- MAX_
GIT_ SNAPSHOT_ DISCOVERY_ STAGES - Maximum complete operation stages inspected by one bounded recovery discovery.
- MAX_
GIT_ SNAPSHOT_ STAGE_ BYTES - Maximum canonical compact stage metadata size.
Functions§
- canonical_
goal3_ tree_ bytes - Construct the valid leaf-tree bytes containing the two fixed snapshot files.
- canonical_
parentless_ snapshot_ commit_ bytes - Construct the exact parentless commit bytes for one snapshot graph.
- canonical_
root_ tree_ bytes - Construct the valid root tree containing only
.rustferry. - canonical_
rustferry_ tree_ bytes - Construct the valid
.rustferrytree containing onlygoal3. - complete_
git_ snapshot_ object_ graph - Complete the exact six-object graph after the two potentially streamed blobs are hashed.
- git_
snapshot_ stage_ directory - Derive one operation’s strict stage directory below a private isolation root.
- require_
sha1_ object_ format - Require exact
sha1output from the private repository object-format probe.