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

Method is_working_copy_clean

atomic-repository/src/repository/status.rs:642–645  ·  view source on GitHub ↗

Check if the working copy is clean (no modifications).

(&self)

Source from the content-addressed store, hash-verified

640
641 /// Check if the working copy is clean (no modifications).
642 pub fn is_working_copy_clean(&self) -> Result<bool, RepositoryError> {
643 let status = self.status(StatusOptions::fast())?;
644 Ok(status.is_clean())
645 }
646
647 /// Get only modified files.
648 pub fn modified_files(&self) -> Result<Vec<PathBuf>, RepositoryError> {

Callers

nothing calls this directly

Calls 2

statusMethod · 0.45
is_cleanMethod · 0.45

Tested by

no test coverage detected