MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / oids

Method oids

atomic-repository/src/repository/projection_commit.rs:181–188  ·  view source on GitHub ↗

Parent OIDs in Git commit order.

(&self)

Source from the content-addressed store, hash-verified

179impl ProjectionParents {
180 /// Parent OIDs in Git commit order.
181 pub fn oids(&self) -> Vec<GitObjectId> {
182 match self {
183 Self::Single { parent } => vec![parent.clone()],
184 Self::Merge {
185 mainline, merged, ..
186 } => vec![mainline.clone(), merged.clone()],
187 }
188 }
189}
190
191/// Proof that a whole-view merge publication contains the complete source

Callers 2

build_projected_commitFunction · 0.80
write_projected_commitFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected