uninitialized property

bool uninitialized
getter/setter pair

A repository that has never received a commit.

Modelled explicitly rather than inferred from refs being empty, because the two are different situations to a writer: a repository whose branch does not exist yet accepts blobs and trees perfectly well, whereas one with no commits at all refuses every git-data write with a 409. Only the contents API can give it its first commit.

Implementation

bool uninitialized = false;