files

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DirectoryExists added in v0.4.0

func DirectoryExists(path string) bool

DirectoryExists determines if a given path exists and is a directory or not

func IsExistingFile

func IsExistingFile(path string) (bool, error)

IsExistingFile determines if a given path exists and is a file

func RemoveFilesNotPresentInManifest added in v0.4.0

func RemoveFilesNotPresentInManifest(directory string, filesTokeep []string) (int, error)

RemoveFilesNotPresentInManifest compares a real directory tree with a list of files to keep and removes extra files

Types

This section is empty.

Jump to

Keyboard shortcuts

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