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

Method is_working_copy_clean

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

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

(&self)

Source from the content-addressed store, hash-verified

504
505 /// Check if the working copy is clean (no modifications).
506 pub fn is_working_copy_clean(&self) -> Result<bool, RepositoryError> {
507 let status = self.status(StatusOptions::fast())?;
508 Ok(status.is_clean())
509 }
510
511 /// Get only modified files.
512 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