MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / take

Method take

src/daemon/git_watch.rs:159–171  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

157 && !self.gc_eligible
158 }
159 fn take(&mut self) -> DirtyPlan {
160 let plan = DirtyPlan {
161 dirty: self.dirty,
162 branches: std::mem::take(&mut self.branches),
163 new_worktrees: std::mem::take(&mut self.new_worktrees),
164 gc_eligible: self.gc_eligible,
165 };
166 self.dirty = false;
167 self.gc_eligible = false;
168 self.first_event = None;
169 self.last_event = None;
170 plan
171 }
172}
173
174/// The drained work for one debounce cycle.

Callers 15

start_with_timeoutsMethod · 0.45
collectMethod · 0.45
dropMethod · 0.45
debounce_loopFunction · 0.45
truncated_contentFunction · 0.45
similarity_payloadFunction · 0.45
curation_status_payloadFunction · 0.45
build_clustersFunction · 0.45
recent_event_rowsFunction · 0.45
recent_hook_rowsFunction · 0.45
default_subgraphFunction · 0.45

Calls

no outgoing calls

Tested by 1