git

package
v0.0.0-...-52e1406 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Overview

Package git represents and manipulates git commands and objects.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FetchHead

type FetchHead []byte

FetchHead represents a git FETCH_HEAD as a []byte.

func NewFetchHead

func NewFetchHead(f string) (FetchHead, error)

NewFetchHead reads a git FETCH_HEAD and returns a FetchHead and possible error.

func (FetchHead) Equals

func (fh FetchHead) Equals(fhOther FetchHead) bool

Equals checks whether one FetchHead is identical to another.

Jump to

Keyboard shortcuts

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