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

Method permissions_changed

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

Iterate over files whose permissions changed.

(&self)

Source from the content-addressed store, hash-verified

685
686 /// Iterate over files whose permissions changed.
687 pub fn permissions_changed(&self) -> impl Iterator<Item = &FileStatusEntry> {
688 self.entries
689 .iter()
690 .filter(|e| e.status == FileStatus::PermissionsChanged)
691 }
692
693 /// Count of permission-changed files.
694 pub fn permissions_changed_count(&self) -> usize {

Callers 4

print_long_formatMethod · 0.80
print_short_formatMethod · 0.80
stash_pushMethod · 0.80

Calls 1

iterMethod · 0.45

Tested by

no test coverage detected