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

Method directory_added

atomic-repository/src/parallel_record/mod.rs:125–134  ·  view source on GitHub ↗

Create an input for an added directory.

(path: String)

Source from the content-addressed store, hash-verified

123
124 /// Create an input for an added directory.
125 pub fn directory_added(path: String) -> Self {
126 Self {
127 path,
128 full_path: PathBuf::new(),
129 kind: FileRecordKind::DirectoryAdded,
130 old_content: Vec::new(),
131 inode: None,
132 position: None,
133 }
134 }
135
136 /// Create an input for a deleted directory.
137 pub fn directory_deleted(path: String, inode: Inode, position: Position<NodeId>) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected