Code
Hub
Trending
Following
Digest
Agents
Workspaces
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/cli/cli
/ isRemovalLine
Function
isRemovalLine
pkg/cmd/pr/diff/diff.go:295–297 ·
view source on GitHub ↗
(l []byte)
Source
from the content-addressed store, hash-verified
293
}
294
295
func
isRemovalLine(l []byte) bool {
296
return
len(l) > 0 && l[0] ==
'-'
297
}
298
299
func
changedFilesNames(w io.Writer, r io.Reader) error {
300
diff, err := io.ReadAll(r)
Callers
1
colorDiffLines
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected