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

Function Blob_size__get__

src/blob.c:389–394  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

387 " 130\n");
388
389PyObject *
390Blob_size__get__(Blob *self)
391{
392 if (Object__load((Object*)self) == NULL) { return NULL; } // Lazy load
393 return PyLong_FromLongLong(git_blob_rawsize(self->blob));
394}
395
396
397PyDoc_STRVAR(Blob_is_binary__doc__, "True if binary data, False if not.");

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…