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

Method new

atomic-repository/src/worktree_presence.rs:37–42  ·  view source on GitHub ↗
(root: &Path)

Source from the content-addressed store, hash-verified

35
36impl WorktreeEntries {
37 pub fn new(root: &Path) -> Self {
38 Self {
39 root: root.to_path_buf(),
40 listings: HashMap::new(),
41 }
42 }
43
44 /// Metadata of `relative` when every component of the path exists on
45 /// disk under its exact name and every ancestor is a real directory.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected