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

Method finalize

atomic-core/src/output/filesystem/mod.rs:207–209  ·  view source on GitHub ↗

Finalize the hash and return the content hash. This can be called after all writes are complete (and flushed).

(&self)

Source from the content-addressed store, hash-verified

205 ///
206 /// This can be called after all writes are complete (and flushed).
207 pub fn finalize(&self) -> crate::types::Merkle {
208 crate::types::Merkle(self.hasher.finalize().into())
209 }
210
211 /// Get a mutable reference to the inner writer.
212 pub fn inner_mut(&mut self) -> &mut W {

Callers 2

render_file_with_filterFunction · 0.45
make_changeFunction · 0.45

Calls 1

MerkleClass · 0.85

Tested by

no test coverage detected