MCPcopy Create free account
hub / github.com/LunaSource/Luna / GetFileDiff

Function GetFileDiff

git/git.go:28–34  ·  view source on GitHub ↗
(filename string)

Source from the content-addressed store, hash-verified

26 return nil, fmt.Errorf("%s", msg)
27 }
28 return out, nil
29}
30
31// FileStatus is a file reported by `git status`, eligible to be staged.
32type FileStatus struct {
33 Path string
34 Status string // raw two-letter porcelain status, e.g. "M ", "??", " D"
35}
36
37// GetAvailableFiles lists every file git status reports as changed

Callers 2

processNextFileFunction · 0.92
handleReviewInputFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected