file

package
v0.1.0-rc.24 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exists

func Exists(filename string) (bool, error)

Exists returns a bool indicating if the specified file exists or not. It returns any errors that are encountered that are NOT an os.ErrNotExist error.

func ExpandPath

func ExpandPath(pathTemplate string, values []string) string

ExpandPath expands the provided pathTemplate, replacing placeholders of the form ${n} where n is a non-negative integer, with corresponding values from the provided string array. The expanded path is returned.

Types

This section is empty.

Jump to

Keyboard shortcuts

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