dir

package
v0.0.0-...-1f8a15b Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteFiles

func DeleteFiles(dirs ...string) error

nolint

func Exist

func Exist(path string) bool

func FileExist

func FileExist(path string) bool

func HasFileOfType

func HasFileOfType(dir, ext string) bool

func ListFiles

func ListFiles(dir string, extensions ...string) ([]string, error)

func MustExist

func MustExist(path ...string)

func Recreate

func Recreate(dir string)

func WriteFileWithFsync

func WriteFileWithFsync(name string, data []byte, perm os.FileMode) error

nolint

Types

This section is empty.

Jump to

Keyboard shortcuts

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