location

package
v0.0.0-...-f7ec575 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootConfigFile = filepath.Join(GlobalConfigDir(), "root.yml")

Functions

func ChdirProjectRoot

func ChdirProjectRoot()

Change directory to configured project root

func GlobalConfigDir

func GlobalConfigDir() string

Get the global configuration directory

func HomeDir

func HomeDir() string

Get user's home directory

func ProjectRoot

func ProjectRoot() (path string)

Get the project root path from the global config

Types

This section is empty.

Jump to

Keyboard shortcuts

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