fileutil

package
v0.0.0-...-9faecf3 Latest Latest
Warning

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

Go to latest
Published: May 13, 2020 License: LGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AbsolutePath

func AbsolutePath(datadir string, filename string) string

func EachChildFile

func EachChildFile(directory string, process func(path string) (bool, error)) error

EachChildFile get child fi and process ,if get error after processing stop, if get a stop flag , stop

func EachDirectory

func EachDirectory(directory string, process func(path string) (bool, error)) error

func EnsureDir

func EnsureDir(dir string)

func EnsureFile

func EnsureFile(filePath string)

func IsDirExists

func IsDirExists(path string) bool

func IsEmptyDir

func IsEmptyDir(directory string) bool

func IsFileExists

func IsFileExists(path string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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