Documentation
¶
Overview ¶
Package processor provides functions for file and directory manipulation
Index ¶
- func CleanupUploadsDirectory(temporaryUploadsDirectory string) bool
- func CopyDirectory(source string, destination string) bool
- func CopyFile(source string, destination string) bool
- func CreateDirectory(directoryName string) bool
- func CreateFile(Filename string, contentType string) bool
- func CreateFileAsByte(Filename string, contentType []byte) bool
- func DirectoryDelete(directoryName string) bool
- func DirectoryOrFileExists(entryName string) bool
- func FileDelete(Filename string) bool
- func ProcessFilesConcurrently(filePaths []string, processFunc func(string) error, numWorkers int) error
- func ReadFile(Filename string) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanupUploadsDirectory ¶
Used for cleaning up the temporary uploads directory
func CopyDirectory ¶
Copies a directory to a source destination
func CreateFile ¶
Create a specified file with specified contents as a string
func CreateFileAsByte ¶
Create a specified file with specified contents as a byte array
func DirectoryOrFileExists ¶
Check if a directory or file exists
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.