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

Method unstaged

atomic-repository/src/repository/staging.rs:147–151  ·  view source on GitHub ↗

Entries whose unstaged (Y) column is not Unmodified.

(&self)

Source from the content-addressed store, hash-verified

145
146 /// Entries whose unstaged (Y) column is not Unmodified.
147 pub fn unstaged(&self) -> impl Iterator<Item = &StagingEntry> {
148 self.entries
149 .iter()
150 .filter(|entry| entry.y != StageCode::Unmodified)
151 }
152
153 /// Entries reported as untracked (`??`).
154 pub fn untracked(&self) -> impl Iterator<Item = &StagingEntry> {

Callers

nothing calls this directly

Calls 1

iterMethod · 0.45

Tested by

no test coverage detected