cache

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

type Cache struct {
	Token    string
	User     string
	Repo     string
	Url      string
	Alias    string
	CacheDir string
	HomeDir  string
}

func LoadCaches

func LoadCaches() (Cache, error)

func (*Cache) SaveCred

func (self *Cache) SaveCred(username string, token string) error

func (*Cache) SaveCurrentGit

func (self *Cache) SaveCurrentGit(alias string, url string, repo string) error

Jump to

Keyboard shortcuts

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