fscommon

package
v1.29.3 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2019 License: Apache-2.0 Imports: 5 Imported by: 17

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendFiles

func AppendFiles(dst []string, dir string) ([]string, error)

AppendFiles appends all the files from dir to dst.

All the appended files will have dir prefix.

func FsyncDir

func FsyncDir(dir string) error

FsyncDir fsyncs dir contents.

func FsyncFile

func FsyncFile(path string) error

FsyncFile fsyncs path contents and the parent directory contents.

func RemoveEmptyDirs

func RemoveEmptyDirs(dir string) error

RemoveEmptyDirs recursively removes empty directories under the given dir.

Types

This section is empty.

Jump to

Keyboard shortcuts

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