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

Method is_snapshot

atomic-core/src/change/classification.rs:37–39  ·  view source on GitHub ↗

Returns whether this change is a working-copy snapshot.

(&self)

Source from the content-addressed store, hash-verified

35
36 /// Returns whether this change is a working-copy snapshot.
37 pub fn is_snapshot(&self) -> bool {
38 matches!(self, Self::Snapshot { .. })
39 }
40}
41
42/// How an Atomic change was derived from Git history.

Callers 15

validate_v2Method · 0.80
apply_view_manifestMethod · 0.80
ensure_snapshot_viewMethod · 0.80
snapshot_statusMethod · 0.80
project_vcs_kgMethod · 0.80
logMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected