Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/remotemobprogramming/mob
/ isNothingToCommit
Function
isNothingToCommit
mob.go:1055–1058 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1053
}
1054
1055
func
isNothingToCommit() bool {
1056
output := silentgit(
"status"
,
"--porcelain"
)
1057
return
len(output) == 0
1058
}
1059
1060
func
hasUncommittedChanges() bool {
1061
return
!isNothingToCommit()
Callers
2
next
Function · 0.85
hasUncommittedChanges
Function · 0.85
Calls
1
silentgit
Function · 0.85
Tested by
no test coverage detected