libgit2

git_reference_is_packed

Version:

Check if a reference has been loaded from a packfile

Signature

int git_reference_is_packed(git_reference *ref);

Parameters

In
ref

A git reference

Returns

int

0 in case it's not packed; 1 otherwise

Versions