Documentation ¶
Index ¶
- func CopyFile(srcPath, dstPath string) error
- func CreateDirectoryAll(path string) *errorwrapper.Wrapper
- func IsDirectory(location string) bool
- func IsPathExists(location string) bool
- func Read(location string, filename string) *errbyte.Results
- func ReadFile(filePath string) *errbyte.Results
- func Write(location string, filename string, content []byte) *errorwrapper.Wrapper
- func WriteFile(filePath string, content []byte) *errorwrapper.Wrapper
- func WriteStringToFile(filePath string, content string) *errorwrapper.Wrapper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyFile ¶
CopyFile Future ref: https://stackoverflow.com/a/21067803
func CreateDirectoryAll ¶
func CreateDirectoryAll(path string) *errorwrapper.Wrapper
func IsDirectory ¶ added in v0.1.2
func IsPathExists ¶ added in v0.1.2
func Write ¶ added in v0.1.2
func Write(location string, filename string, content []byte) *errorwrapper.Wrapper
func WriteFile ¶ added in v0.1.2
func WriteFile(filePath string, content []byte) *errorwrapper.Wrapper
func WriteStringToFile ¶ added in v0.1.2
func WriteStringToFile(filePath string, content string) *errorwrapper.Wrapper
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.