filesystem

package
v0.0.0-...-ecab513 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DEL_FILE_LIST_E_SLEEP = 60
)

Variables

This section is empty.

Functions

func DeleteFileByAge

func DeleteFileByAge(path string, minAgeForDeletion int64) (bool, error)

func DeleteFileList

func DeleteFileList(fileExtToClean, directoryPath string) int

func DeleteFileListE

func DeleteFileListE(prefix, fileExtToClean, directoryPath string, maxAge int64, forceNoExt bool) int

func FileExists

func FileExists(path string) bool

func GetFileList

func GetFileList(directoryPath string) map[int]string

func GetFileListGlob

func GetFileListGlob(pattern string) map[int]string

Types

This section is empty.

Jump to

Keyboard shortcuts

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