files

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2024 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CurrentDir

func CurrentDir() string

func Detect

func Detect(filename string) ([]string, error)

func DetectByExt added in v0.2.4

func DetectByExt(ext string) ([]string, error)

func DetectInDir added in v0.3.0

func DetectInDir(curDir, filename string) ([]string, error)

func Exist

func Exist(filename string) bool

func Folder

func Folder(filename string) string

func Rewrite

func Rewrite(filename string, cb func(string) string) error

func YamlRead added in v0.2.4

func YamlRead(filename string, v interface{}) error

func YamlWrite added in v0.2.4

func YamlWrite(filename string, v interface{}) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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