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

Method git_is_clean

atomic-cli/tests/it/git_projection_cb8a_test.rs:193–195  ·  view source on GitHub ↗

Whether the Git worktree and index are clean.

(&self)

Source from the content-addressed store, hash-verified

191
192 /// Whether the Git worktree and index are clean.
193 fn git_is_clean(&self) -> bool {
194 self.git(&["status", "--porcelain"]).is_empty()
195 }
196}
197
198/// The tree object the Git index describes (`git write-tree`), i.e. the

Callers

nothing calls this directly

Calls 2

is_emptyMethod · 0.45
gitMethod · 0.45

Tested by

no test coverage detected