Skip to main content

CommitId

Type Alias CommitId 

Source
pub type CommitId = String;
Expand description

Opaque commit identifier returned by MemWriter::commit. Backend-defined string — the git-tree adapter formats it as a hex-encoded object id (40 chars for sha-1, 64 for sha-256), but the trait surface treats it as opaque. Callers carry it back into the engine’s HashMismatch.current envelope when the adapter detects a CAS conflict.

Aliased Type§

pub struct CommitId { /* private fields */ }