Documentation ¶
Index ¶
- Constants
- func AppendRaw[T Ref](b []byte, v T) []byte
- func FromFastbuf[T fromRaw[T]](r *fastbuf.R) (T, error)
- func FromRaw[T fromRaw[T]](p []byte) (T, error, []byte)
- func FromRawExact[T fromRaw[T]](p []byte) (T, error)
- func FromRawString[T fromRaw[T]](p string) (T, error, string)
- func FromRawStringExact[T fromRaw[T]](p string) (T, error)
- func FromReader[T fromRaw[T]](r io.Reader) (T, error)
- type FileHash
- type OID
- type Pair
- type Ref
- type Sha256
- type Time
Constants ¶
View Source
const HUMANIZED_WIDTH = 12
Variables ¶
This section is empty.
Functions ¶
func FromFastbuf ¶
func FromRawExact ¶
func FromRawString ¶
func FromRawStringExact ¶
func FromReader ¶
Types ¶
type FileHash ¶
type FileHash struct {
// contains filtered or unexported fields
}
func (FileHash) FmtHumanize ¶
type Pair ¶
type Pair[T1 fromRaw[T1], T2 fromRaw[T2]] struct {
// contains filtered or unexported fields
}
type Sha256 ¶
type Sha256 struct {
// contains filtered or unexported fields
}
func (Sha256) FmtHumanize ¶
type Time ¶
type Time struct {
// contains filtered or unexported fields
}
func (Time) FmtHumanize ¶
Click to show internal directories.
Click to hide internal directories.