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

Method new

atomic-core/src/change/atom.rs:316–321  ·  view source on GitHub ↗

Create a new empty EdgeUpdate for a given inode.

(inode: Position<H>)

Source from the content-addressed store, hash-verified

314impl<H> EdgeUpdate<H> {
315 /// Create a new empty EdgeUpdate for a given inode.
316 pub fn new(inode: Position<H>) -> Self {
317 Self {
318 edges: Vec::new(),
319 inode,
320 }
321 }
322
323 /// Check if this EdgeUpdate has no edge modifications.
324 #[inline]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected