git

package
v0.0.0-...-84ddfae Latest Latest
Warning

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

Go to latest
Published: May 7, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WriteConfig

func WriteConfig(w io.Writer, cfg Config) (err error)

func WriteConfigFile

func WriteConfigFile(file string, cfg Config) (err error)

Types

type Config

type Config = map[string][]KeyValuePair

type CredentialHelperParams

type CredentialHelperParams struct {
	Host string `json:"host"`
	Path string `json:"path"`
}

func ParseCredentialHelperStdin

func ParseCredentialHelperStdin(stdin io.Reader) (*CredentialHelperParams, error)

type KeyValuePair

type KeyValuePair struct {
	Key   string
	Value string
}

Jump to

Keyboard shortcuts

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