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

Method as_directory

atomic-core/src/record/context.rs:736–739  ·  view source on GitHub ↗

Mark this as a directory.

(mut self)

Source from the content-addressed store, hash-verified

734
735 /// Mark this as a directory.
736 pub fn as_directory(mut self) -> Self {
737 self.is_directory = true;
738 self
739 }
740
741 /// Set the content hash.
742 pub fn with_content_hash(mut self, hash: crate::types::Hash) -> Self {

Calls

no outgoing calls