files

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: MIT Imports: 2 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) ([]string, 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