utils

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: May 23, 2024 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureDir

func EnsureDir(path string)

func EnsureDirForFile

func EnsureDirForFile(path string)

func FileExists

func FileExists(path string) bool

func Find

func Find(file, path, stop string) string

func InputPrompt

func InputPrompt(prompt, def string, required bool) string

func IsDirEmpty

func IsDirEmpty(name string) bool

func NamePrompt

func NamePrompt(what, def string, required bool) string

func Subpath

func Subpath(path, root string) string

func Wd

func Wd() string

func YesNoPrompt

func YesNoPrompt(prompt string, def bool) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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