Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ direct_parent
Function
direct_parent
atomic-repository/src/tracking/tree_ops.rs:545–547 ·
view source on GitHub ↗
(path: &str)
Source
from the content-addressed store, hash-verified
543
}
544
545
fn direct_parent(path: &str) -> Option<&str> {
546
path.rsplit_once(
'/'
).map(|(parent, _)| parent)
547
}
548
549
// Core Tracking Functions
550
Callers
2
derive_directory_occupancy
Method · 0.85
remove_directory_from_tree
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected