MCPcopy Create free account
hub / github.com/remotemobprogramming/mob / silentgitignorefailure

Function silentgitignorefailure

mob.go:1150–1157  ·  view source on GitHub ↗
(args ...string)

Source from the content-addressed store, hash-verified

1148}
1149
1150func silentgitignorefailure(args ...string) (string, error) {
1151 _, output, err := runCommandSilent("git", args...)
1152
1153 if err != nil {
1154 return "", err
1155 }
1156 return strings.TrimSpace(output), nil
1157}
1158
1159func deleteEmptyStrings(s []string) []string {
1160 var r []string

Callers 3

sayLastCommitsListFunction · 0.85
gitUserNameFunction · 0.85
gitCommitHashFunction · 0.85

Calls 1

runCommandSilentFunction · 0.85

Tested by

no test coverage detected