MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / has_uncommitted_changes

Function has_uncommitted_changes

crates/opencode-util/src/util.rs:253–255  ·  view source on GitHub ↗
(path: &Path)

Source from the content-addressed store, hash-verified

251 }
252
253 pub fn has_uncommitted_changes(path: &Path) -> bool {
254 !get_status(path).is_empty()
255 }
256}
257
258pub mod abort {

Callers

nothing calls this directly

Calls 2

get_statusFunction · 0.85
is_emptyMethod · 0.80

Tested by

no test coverage detected