MCPcopy Index your code
hub / github.com/nikivdev/go / runDiff

Function runDiff

cli/github/main.go:159–165  ·  view source on GitHub ↗
(ctx *snap.Context)

Source from the content-addressed store, hash-verified

157}
158
159func runDiff(ctx *snap.Context) error {
160 if ctx.NArgs() < 1 {
161 fmt.Fprintf(ctx.Stderr(), "Usage: %s diff <pr-url> [--no-comments]\n", commandName)
162 return fmt.Errorf("expected at least 1 argument")
163 }
164 return runDiffDirect(ctx.Arg(0), ctx.Args()[1:])
165}
166
167func runDeploy(ctx *snap.Context) error {
168 home, err := os.UserHomeDir()

Callers

nothing calls this directly

Calls 1

runDiffDirectFunction · 0.85

Tested by

no test coverage detected