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

Method parent_display

atomic-repository/src/repository/views.rs:68–70  ·  view source on GitHub ↗

Get the parent name for display, or "—" if root.

(&self)

Source from the content-addressed store, hash-verified

66
67 /// Get the parent name for display, or "—" if root.
68 pub fn parent_display(&self) -> &str {
69 self.parent_name.as_deref().unwrap_or("—")
70 }
71}
72
73impl Repository {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected