MCPcopy 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
545fn direct_parent(path: &str) -> Option<&str> {
546 path.rsplit_once('/').map(|(parent, _)| parent)
547}
548
549// Core Tracking Functions
550

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected