Documentation ¶
Index ¶
- func Checksum(file string)
- func CreateSteganographicFromArchive(v bool, dst, src, jpg string)
- func DetectArchiveFromImage(v bool, src string) bool
- func Enumerate(v bool, sortBy, sortAlg string, desc bool, paths ...string) Tree
- func ExtractCopy(v bool, dst string, src ...string)
- func Extractor(v bool, dst io.Writer, src ...string)
- func VerifyChecksum(file string, sum string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateSteganographicFromArchive ¶
CreateSteganographicFromArchive creates an image file that behave both as an image and archive. dst is the path for the new image archive and src is the path to the archive. jpg is an optional path to an image file
func DetectArchiveFromImage ¶
func Enumerate ¶
Enumerate recursively walks through directories and sorts the discovered files before returning the list. sortBy must be one of ("dir" | "mod" | "name" | "size") sortAlg must be one of ("" | "bubble" | "insertion" | "merge" | "quick" | "selection") the empty string defaults to quicksort. desc defines whether the contents are sorted in descending order or ascending order paths is a variadic list of paths to enumerate
func ExtractCopy ¶
ExtractCopy extracts the files at src and creates a new file dest with the concatenated contents.
func VerifyChecksum ¶
Types ¶
This section is empty.