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

Method untracked_files

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

Get only untracked files.

(&self)

Source from the content-addressed store, hash-verified

652
653 /// Get only untracked files.
654 pub fn untracked_files(&self) -> Result<Vec<PathBuf>, RepositoryError> {
655 let status = self.status(StatusOptions::default())?;
656 Ok(status.untracked().map(|e| e.path().to_path_buf()).collect())
657 }
658
659 /// Get only deleted files.
660 pub fn deleted_files(&self) -> Result<Vec<PathBuf>, RepositoryError> {

Callers 1

Calls 3

untrackedMethod · 0.80
statusMethod · 0.45
pathMethod · 0.45

Tested by 1