path

package
v0.0.46 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrFileNotExists  = errors.New("file not exists")
	ErrConfigNotFound = errors.New("config not exists")
)

Functions

func GetFullConfigPath

func GetFullConfigPath(filename string, workDir string) (string, error)

find config file non-recursively filename is a file to find and work dir is where to start.

func GetFullConfigPathRecursive

func GetFullConfigPathRecursive(filename string, workDir string) (string, error)

find config file recursively filename is a file to find and work dir is where to start.

Types

This section is empty.

Jump to

Keyboard shortcuts

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