Xgit v0.1.6 Xgit.Core.Object View Source
Describes a single object stored (or about to be stored) in a git repository.
This struct is constructed, modified, and shared as a working description of how to find and describe an object before it gets written to a repository.
Link to this section Summary
Link to this section Types
This struct describes a single object stored or about to be stored in a git repository.
:type: the object's type (
:content: how to obtain the content (see
:size: size (in bytes) of the object or
:id: object ID (40 chars hex) of the object or
Link to this section Functions
true if the struct describes a valid object.
IMPORTANT: This validation only verifies that the struct itself is valid.
It does not inspect the content of the object. That check can be performed by