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

Method kind_label

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

Get a human-readable label for the view scope.

(&self)

Source from the content-addressed store, hash-verified

41
42 /// Get a human-readable label for the view scope.
43 pub fn kind_label(&self) -> &str {
44 match self.scope {
45 ViewScope::Shared => "shared",
46 ViewScope::Draft => "draft",
47 }
48 }
49
50 /// Get the parent name for display, or "—" if root.
51 pub fn parent_display(&self) -> &str {

Callers 1

runMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected