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

Method inode

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

Get the inode (file reference) for this atom.

(&self)

Source from the content-addressed store, hash-verified

128
129 /// Get the inode (file reference) for this atom.
130 pub fn inode(&self) -> &Position<H> {
131 match self {
132 Atom::Insertion(v) => &v.inode,
133 Atom::EdgeUpdate(e) => &e.inode,
134 }
135 }
136}
137
138impl<H: Clone> Atom<H> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected