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

Method take_contents

atomic-core/src/record/builder.rs:545–547  ·  view source on GitHub ↗

Take ownership of the contents buffer.

(self)

Source from the content-addressed store, hash-verified

543
544 /// Take ownership of the contents buffer.
545 pub fn take_contents(self) -> Vec<u8> {
546 self.contents
547 }
548
549 /// Get the inode updates.
550 pub fn updatables(&self) -> &HashMap<usize, InodeUpdate> {

Callers 1

Calls

no outgoing calls

Tested by 1