create

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateConfig

func CreateConfig(config *GitUserConfig, location *ConfigLocation) error

func DefaultConfigDirectory

func DefaultConfigDirectory() (*string, error)

Types

type ConfigLocation

type ConfigLocation struct {
	Path string
}

ConfigLocation : Where to store a context configuration

func DefaultConfigLocation

func DefaultConfigLocation(name string) (*ConfigLocation, error)

type GitUserConfig

type GitUserConfig struct {
	Name  string
	Email string
}

GitUserConfig : Contents of a context configuration

Jump to

Keyboard shortcuts

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