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

Method hash

atomic-core/src/diff/line.rs:343–346  ·  view source on GitHub ↗
(&self, state: &mut H)

Source from the content-addressed store, hash-verified

341
342impl<'a> Hash for Line<'a> {
343 fn hash<H: Hasher>(&self, state: &mut H) {
344 // Use our pre-computed hash
345 state.write_u64(self.hash);
346 }
347}
348
349impl<'a> std::fmt::Debug for Line<'a> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected