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

Function operation_in_flight

src/daemon/git_watch.rs:565–569  ·  view source on GitHub ↗

True while a rebase/merge is mid-flight; the watcher holds during these and fires exactly once after they clear.

(common: &Path)

Source from the content-addressed store, hash-verified

563/// True while a rebase/merge is mid-flight; the watcher holds during these and
564/// fires exactly once after they clear.
565fn operation_in_flight(common: &Path) -> bool {
566 common.join("rebase-merge").exists()
567 || common.join("rebase-apply").exists()
568 || common.join("MERGE_HEAD").exists()
569}
570
571/// Executes one coalesced debounce cycle: proactively track new worktrees, sync
572/// affected branches / the current branch, and mark GC eligibility.

Callers 1

debounce_loopFunction · 0.85

Calls 1

existsMethod · 0.80

Tested by

no test coverage detected