git

package
v1.13.1 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Binary string
	Dir    string
}

func (*Client) GeneratePatchFile

func (c *Client) GeneratePatchFile(destDir string) PatchFile

func (*Client) GetBranch

func (c *Client) GetBranch() string

func (*Client) GetCommit

func (c *Client) GetCommit() string

func (*Client) GetOriginUrl

func (c *Client) GetOriginUrl() string

type LFSChangedFilesMetadata

type LFSChangedFilesMetadata struct {
	Files []string
	Count int
}

type PatchFile

type PatchFile struct {
	Written         bool
	Path            string
	UntrackedFiles  UntrackedFilesMetadata
	LFSChangedFiles LFSChangedFilesMetadata
}

type UntrackedFilesMetadata

type UntrackedFilesMetadata struct {
	Files []string
	Count int
}

Jump to

Keyboard shortcuts

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