repo

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ScriptsPath = "../../scripts"
	ConfigPath  = "../../config"
)
View Source
const (
	// DefaultPathName is the default config dir name
	DefaultPathName = ".premo"

	// DefaultPathRoot is the path to the default config dir location.
	DefaultPathRoot = "~/" + DefaultPathName

	KeyPassword = "bitxhub"
)

Variables

View Source
var RootPath string

Functions

func Initialize

func Initialize(repoRoot string) error

func KeyPath

func KeyPath() (string, error)

func PathRoot

func PathRoot() (string, error)

PathRoot returns root path (default .pier)

func PathRootWithDefault

func PathRootWithDefault(path string) (string, error)

PathRootWithDefault gets current config path with default value

Types

This section is empty.

Jump to

Keyboard shortcuts

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