Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/go-git/go-git
/ IsBinary
Method
IsBinary
plumbing/object/patch.go:197–199 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
195
}
196
197
func
(tf *textFilePatch) IsBinary() bool {
198
return
len(tf.chunks) == 0
199
}
200
201
func
(tf *textFilePatch) Chunks() []fdiff.Chunk {
202
return
tf.chunks
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected