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

Method untracked_files

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

Get only untracked files.

(
        &self,
        working_copy: WorkingCopyId,
    )

Source from the content-addressed store, hash-verified

1236
1237 /// Get only untracked files.
1238 pub fn untracked_files(
1239 &self,
1240 working_copy: WorkingCopyId,
1241 ) -> Result<Vec<PathBuf>, RepositoryError> {
1242 let status = self.status(working_copy, StatusOptions::default())?;
1243 Ok(status.untracked().map(|e| e.path().to_path_buf()).collect())
1244 }
1245
1246 /// Get only deleted files.
1247 pub fn deleted_files(

Callers

nothing calls this directly

Calls 4

statusMethod · 0.45
collectMethod · 0.45
untrackedMethod · 0.45
pathMethod · 0.45

Tested by

no test coverage detected