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

Method deleted_files

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

Get only deleted files.

(&self)

Source from the content-addressed store, hash-verified

522
523 /// Get only deleted files.
524 pub fn deleted_files(&self) -> Result<Vec<PathBuf>, RepositoryError> {
525 let status = self.status(StatusOptions::default())?;
526 Ok(status.deleted().map(|e| e.path().to_path_buf()).collect())
527 }
528}
529
530/// Check whether a file has live content from a view's perspective.

Callers 3

write_recordedMethod · 0.45
recordMethod · 0.45

Calls 3

statusMethod · 0.45
deletedMethod · 0.45
pathMethod · 0.45

Tested by 1