Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/encounter/objdiff
/ should_cancel
Function
should_cancel
objdiff-core/src/jobs/mod.rs:224–229 ·
view source on GitHub ↗
(rx: &Receiver<()>)
Source
from the content-addressed store, hash-verified
222
}
223
224
fn should_cancel(rx: &Receiver<()>) -> bool {
225
match rx.try_recv() {
226
Ok(_) | Err(TryRecvError::Disconnected) => true,
227
Err(_) => false,
228
}
229
}
Callers
1
update_status
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected