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

Method is_draft

atomic-objects/src/view_snapshot.rs:130–132  ·  view source on GitHub ↗

Whether this snapshot represents a draft view.

(&self)

Source from the content-addressed store, hash-verified

128
129 /// Whether this snapshot represents a draft view.
130 pub fn is_draft(&self) -> bool {
131 self.scope_label() == ViewScopeLabel::Draft
132 }
133
134 /// The number of changes this view owns (does not include inherited).
135 pub fn own_change_count(&self) -> usize {

Callers

nothing calls this directly

Calls 1

scope_labelMethod · 0.80

Tested by

no test coverage detected