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

Method modified_files

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

Get only modified files.

(
        &self,
        working_copy: WorkingCopyId,
    )

Source from the content-addressed store, hash-verified

1227
1228 /// Get only modified files.
1229 pub fn modified_files(
1230 &self,
1231 working_copy: WorkingCopyId,
1232 ) -> Result<Vec<PathBuf>, RepositoryError> {
1233 let status = self.status(working_copy, StatusOptions::default())?;
1234 Ok(status.modified().map(|e| e.path().to_path_buf()).collect())
1235 }
1236
1237 /// Get only untracked files.
1238 pub fn untracked_files(

Callers

nothing calls this directly

Calls 4

statusMethod · 0.45
collectMethod · 0.45
modifiedMethod · 0.45
pathMethod · 0.45

Tested by

no test coverage detected