Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
258
pub mod abort {
Callers
nothing calls this directly
Calls
2
get_status
Function · 0.85
is_empty
Method · 0.80
Tested by
no test coverage detected