fsutil

package
v0.8.31 Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: Apache-2.0, MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DirWritable

func DirWritable(dir string) error

DirWritable checks if a directory is writable. If the directory does not exist it is created with writable permission.

func FileChanged

func FileChanged(filePath string, modTime time.Time) (time.Time, bool, error)

FileChanged returns the modification time of a file and true if different from the given time.

func FileExists

func FileExists(filename string) bool

FileExists return true if the file exists

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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