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

Method deleted

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

Create an input for a deleted file.

(path: String, inode: Inode, position: Position<NodeId>)

Source from the content-addressed store, hash-verified

111
112 /// Create an input for a deleted file.
113 pub fn deleted(path: String, inode: Inode, position: Position<NodeId>) -> Self {
114 Self {
115 path,
116 full_path: PathBuf::new(),
117 kind: FileRecordKind::Deleted,
118 old_content: Vec::new(),
119 inode: Some(inode),
120 position: Some(position),
121 }
122 }
123
124 /// Create an input for an added directory.
125 pub fn directory_added(path: String) -> Self {

Callers 2

deleted_filesMethod · 0.45

Calls

no outgoing calls

Tested by 1