MCPcopy 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
1055func isNothingToCommit() bool {
1056 output := silentgit("status", "--porcelain")
1057 return len(output) == 0
1058}
1059
1060func hasUncommittedChanges() bool {
1061 return !isNothingToCommit()

Callers 2

nextFunction · 0.85
hasUncommittedChangesFunction · 0.85

Calls 1

silentgitFunction · 0.85

Tested by

no test coverage detected