MCPcopy Create free account
hub / github.com/libgit2/git2go / IsBinary

Method IsBinary

blob.go:43–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41}
42
43func (v *Blob) IsBinary() bool {
44 ret := C.git_blob_is_binary(v.cast_ptr) == 1
45 runtime.KeepAlive(v)
46 return ret
47}
48
49func (repo *Repository) CreateBlobFromBuffer(data []byte) (*Oid, error) {
50 runtime.LockOSThread()

Callers 1

TestCreateBlobFromBufferFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestCreateBlobFromBufferFunction · 0.64