gitconfiginterface

package
Version: v1.7.0 Latest Latest
Warning

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

Go to latest
Published: May 31, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reader

type Reader interface {
	Get(scope scope.Scope, key string) (string, error)
	GetAll(scope scope.Scope, key string) ([]string, error)
	GetRegexp(scope scope.Scope, pattern string) (map[string]string, error)
	List(scope scope.Scope) (map[string]string, error)
}

Reader read git configuration settings

type Writer

type Writer interface {
	Add(scope scope.Scope, key string, value string) error
	ReplaceAll(scope scope.Scope, key string, value string) error
	UnsetAll(scope scope.Scope, key string) error
}

Writer modify git configuration settings

Jump to

Keyboard shortcuts

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