ids

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 16, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sha1id

type Sha1id struct {
	// contains filtered or unexported fields
}

func CreateSha1id

func CreateSha1id(data []byte) (*Sha1id, error)

func ParseSha1id

func ParseSha1id(str string) (*Sha1id, error)

func (*Sha1id) Bytes

func (inst *Sha1id) Bytes() []byte

func (*Sha1id) String

func (inst *Sha1id) String() string

func (*Sha1id) ToObjectId

func (inst *Sha1id) ToObjectId() git.ObjectId

func (*Sha1id) ToPackId

func (inst *Sha1id) ToPackId() git.PackId

type Sha256id

type Sha256id struct {
	// contains filtered or unexported fields
}

func CreateSha256id

func CreateSha256id(data []byte) (*Sha256id, error)

func ParseSha256id

func ParseSha256id(str string) (*Sha256id, error)

func (*Sha256id) Bytes

func (inst *Sha256id) Bytes() []byte

func (*Sha256id) String

func (inst *Sha256id) String() string

func (*Sha256id) ToObjectId

func (inst *Sha256id) ToObjectId() git.ObjectId

func (*Sha256id) ToPackId

func (inst *Sha256id) ToPackId() git.PackId

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL