Versions in this module Expand all Collapse all v1 v1.0.0 May 22, 2023 Changes in this version + const Sha1HexLength + const Sha1Length + type ID [20]byte + func ParseID(sha1hex string) (ID, error) + func (id ID) MarshalJSON() ([]byte, error) + func (id ID) String() string + type Mode int + const DirectoryMode + const ExecutableFileMode + const GitLinkMode + const RegularFileMode + const SymLinkMode + const UnknownMode + func ParseMode(str string) (Mode, error) + func (m Mode) MarshalJSON() ([]byte, error) + func (m Mode) String() string + type Type int + const Blob + const Commit + const Tag + const Tree + const UnknownType + func ParseType(typeString string) (Type, error) + func (t Type) MarshalJSON() ([]byte, error) + func (t Type) String() string