git

package
v0.0.0-...-0e3b330 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Commit

func Commit(path string, commitMessage string) bool

func CommitDirectory

func CommitDirectory(repository string, interactive bool)

func CommitHash

func CommitHash(path string) shell.CommandResponse

func FetchPullPush

func FetchPullPush(path string) error

func FormatRepositoryUrl

func FormatRepositoryUrl(remote string) string

func Git

func Git(directory string) bool

func GitignoreCreate

func GitignoreCreate(directory string)

func Modified

func Modified(path string) []string

func Pull

func Pull(path string) error

func Push

func Push(path string) error

func Remote

func Remote(path string) (string, error)

func RemoteAhead

func RemoteAhead(path string) bool

func RemoteBehind

func RemoteBehind(path string) bool

func Scan

func Scan(directory string)

func ScanSubdirectories

func ScanSubdirectories(wg *sync.WaitGroup, newPath string)

func SetRemote

func SetRemote(path string, repo string)

func Stage

func Stage(path string) (bool, string)

func StageCommit

func StageCommit(path string, commitMessage string)

func Staged

func Staged(path string) []string

func Untracked

func Untracked(path string) []string

func UpToDate

func UpToDate(path string) bool

func VerifyPaths

func VerifyPaths()

Types

This section is empty.

Jump to

Keyboard shortcuts

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