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

Function projected_parent

atomic-repository/src/repository/deferred_tree.rs:105–107  ·  view source on GitHub ↗
(path: &str)

Source from the content-addressed store, hash-verified

103}
104
105fn projected_parent(path: &str) -> Option<&str> {
106 path.rsplit_once('/').map(|(parent, _)| parent)
107}
108
109fn projection_error(error: TreeProjectionError) -> RepositoryError {
110 match error {

Calls

no outgoing calls

Tested by

no test coverage detected