helpers

package
v2.0.0-beta.3 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2024 License: Apache-2.0 Imports: 3 Imported by: 66

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetNodeHomeDirectory

func GetNodeHomeDirectory(name string) (string, error)

GetNodeHomeDirectory gets the home directory of the node (where the config is located). It parses the home flag if set if the `NODE_HOME` environment variable if set (and ignores name). Otherwise, it returns the default home directory given its name.

Types

This section is empty.

Jump to

Keyboard shortcuts

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