MCPcopy Create free account
hub / github.com/datmo/datmo / current_snapshot

Method current_snapshot

datmo/core/controller/snapshot.py:46–75  ·  view source on GitHub ↗

Get current snapshot and return if no unstaged changes Returns ------- datmo.core.entity.snapshot.Snapshot or None current snapshot object state if not unstaged and exists. if DNE return None (should never occur) Raises ------ UnstagedCha

(self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

statusMethod · 0.80
test_current_snapshotMethod · 0.80
lsMethod · 0.80
test_snapshot_lsMethod · 0.80

Calls 4

current_codeMethod · 0.80
current_environmentMethod · 0.80
queryMethod · 0.45

Tested by 2

test_current_snapshotMethod · 0.64
test_snapshot_lsMethod · 0.64