Documentation ¶
Overview ¶
Package helpers is just some helper utils. Arguably this should be moved out of it's own package in to the appropriate main packages
Index ¶
- func ConvertDirsToAboluteDirs(orig []string) ([]string, error)
- func FilenameMatchesGlobs(filename string, globs []string) bool
- func GetSha256(file string) (string, error)
- func IsDirectory(path string) bool
- func MustGetSha256(file string) string
- func SuitcaseFormatWithFilename(filename string) (string, error)
- func WriteHashFile(hs []HashSet, o io.Writer) error
- type HashSet
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertDirsToAboluteDirs ¶
ConvertDirsToAboluteDirs turns directories in to absolute path directories
func FilenameMatchesGlobs ¶
FilenameMatchesGlobs Check if a filename matches a set of globs
func IsDirectory ¶
IsDirectory returns a bool if a file is a directory
func MustGetSha256 ¶
MustGetSha256 panics if a Sha256 cannot be generated
func SuitcaseFormatWithFilename ¶
SuitcaseFormatWithFilename detects the format of a suitcase from the given filename
Types ¶
Click to show internal directories.
Click to hide internal directories.