MCPcopy Create free account
hub / github.com/libgit2/pygit2 / Blob_is_binary__get__

Function Blob_is_binary__get__

src/blob.c:399–407  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

397PyDoc_STRVAR(Blob_is_binary__doc__, "True if binary data, False if not.");
398
399PyObject *
400Blob_is_binary__get__(Blob *self)
401{
402 if (Object__load((Object*)self) == NULL) { return NULL; } // Lazy load
403
404 if (git_blob_is_binary(self->blob))
405 Py_RETURN_TRUE;
406 Py_RETURN_FALSE;
407}
408
409
410PyDoc_STRVAR(Blob_data__doc__,

Callers

nothing calls this directly

Calls 1

Object__loadFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…