git

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2021 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotRepo = errors.New("path not within a git repository")

Functions

func GetRepoRoot

func GetRepoRoot(path string) (string, error)

getGitRepoRoot finds the path to the root of the git repository in which path is within

Types

This section is empty.

Jump to

Keyboard shortcuts

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