gitconfig

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2022 License: GPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GitConfig

type GitConfig struct {
	// contains filtered or unexported fields
}

func ReadGitConfig

func ReadGitConfig() (*GitConfig, error)

readGitConfig loads the value of ogit.orgs from ~/.gitconfig.

func (GitConfig) FetchUserRepos

func (c GitConfig) FetchUserRepos() bool

func (GitConfig) GitlabGroups

func (c GitConfig) GitlabGroups() []string

func (GitConfig) Orgs

func (c GitConfig) Orgs() []string

func (GitConfig) PrivKeyPath

func (c GitConfig) PrivKeyPath() string

func (GitConfig) StoragePath

func (c GitConfig) StoragePath() string

func (GitConfig) UseSSHAgent

func (c GitConfig) UseSSHAgent() bool

Jump to

Keyboard shortcuts

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