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

Method untracked_files

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

Get only untracked files.

(&self)

Source from the content-addressed store, hash-verified

516
517 /// Get only untracked files.
518 pub fn untracked_files(&self) -> Result<Vec<PathBuf>, RepositoryError> {
519 let status = self.status(StatusOptions::default())?;
520 Ok(status.untracked().map(|e| e.path().to_path_buf()).collect())
521 }
522
523 /// Get only deleted files.
524 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