git_object__size

Get the size in bytes for the structure which acts as an in-memory representation of any given object type.

For all the core types, this would the equivalent of calling sizeof(git_commit) if the core types were not opaque on the external API.

version(!GIT_DEPRECATE_HARD)
extern (C) nothrow @nogc deprecated
size_t
git_object__size

Parameters

type libgit2_d.types.git_object_t

object type to get its size

Return Value

Type: size_t

size in bytes of the object

Meta