homedir

package
v3.0.119 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2021 License: Apache-2.0 Imports: 4 Imported by: 15

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CacheDir

func CacheDir(envVar string, defaultDirName string) (string, error)

func ConfigDir

func ConfigDir(envVar string, defaultDirName string) (string, error)

ConfigDir passes in the env var for a home dir if defined or the default dir inside the home dir to use if not

func DefaultPluginBinDir

func DefaultPluginBinDir() (string, error)

DefaultPluginBinDir returns where the binary plugins are installed

func HomeDir

func HomeDir() string

func PluginBinDir

func PluginBinDir(envVar string, defaultDirName string) (string, error)

PluginBinDir returns the plugin directory

Types

This section is empty.

Jump to

Keyboard shortcuts

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