commit

package
v0.0.0-...-1337c0d Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Header struct {
	Value string
}

type Object

type Object struct {
	Type    string
	Message []byte
	// contains filtered or unexported fields
}

func ParseGitCommitObject

func ParseGitCommitObject(objectPayload []byte) (*Object, error)

ParseGitCommitObject parses a git commit object without its prefix (i.e. 'commit <len>\0')

func (*Object) Headers

func (g *Object) Headers() []*Header

func (*Object) SetHeaders

func (g *Object) SetHeaders(headers []*Header)

Jump to

Keyboard shortcuts

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