package gitobject
import "github.com/moby/buildkit/util/gitutil/gitobject"
Index ¶
- type Actor
- type Commit
- type GitObject
- func Parse(raw []byte) (*GitObject, error)
- func (obj *GitObject) Checksum(hashFunc func() hash.Hash) ([]byte, error)
- func (obj *GitObject) ToCommit() (*Commit, error)
- func (obj *GitObject) ToTag() (*Tag, error)
- func (obj *GitObject) VerifyChecksum(sha string) error
- type Tag
Types ¶
type Actor ¶
type Commit ¶
type GitObject ¶
type GitObject struct {
Type string
Headers map[string][]string
Message string
Signature string
SignedData string
Raw []byte
}
func Parse ¶
func (*GitObject) Checksum ¶
func (*GitObject) ToCommit ¶
func (*GitObject) ToTag ¶
func (*GitObject) VerifyChecksum ¶
type Tag ¶
Source Files ¶
- Version
- v0.28.0
- Published
- Mar 3, 2026
- Platform
- darwin/amd64
- Imports
- 10 packages
- Last checked
- 9 minutes ago –
Tools for package owners.