gitdiscovery

package
v3.2.4 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2022 License: Apache-2.0 Imports: 6 Imported by: 14

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindGitInfoFromDir

func FindGitInfoFromDir(dir string) (*giturl.GitRepository, error)

FindGitInfoFromDir finds the git info from the given dir

func FindGitURLFromDir

func FindGitURLFromDir(dir string, preferUpstream bool) (string, error)

FindGitURLFromDir tries to find the git clone URL from the given directory

Types

This section is empty.

Jump to

Keyboard shortcuts

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