MCPcopy Create free account
hub / github.com/JaredStewart/coderlm / insert

Method insert

server/src/index/file_tree.rs:25–27  ·  view source on GitHub ↗
(&self, entry: FileEntry)

Source from the content-addressed store, hash-verified

23 }
24
25 pub fn insert(&self, entry: FileEntry) {
26 self.files.insert(entry.rel_path.clone(), entry);
27 }
28
29 pub fn remove(&self, rel_path: &str) -> Option<FileEntry> {
30 self.files.remove(rel_path).map(|(_, v)| v)

Callers 2

handle_file_changeFunction · 0.45
scan_directoryFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected