Documentation ¶
Index ¶
- func AssertPathExists(paths ...string) error
- func AssertPathNotExists(paths ...string) error
- func Base64Decode(b []byte) ([]byte, error)
- func Copy(src, dest string) error
- func CopyDirectory(src, dest string) error
- func Empty(path string) bool
- func EnsureDirectoryExists(path string) error
- func PathExists(path string) (bool, error)
- func ReadKey(key, path string) ([]byte, error)
- func SaveFile(fpath string, content []byte) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertPathExists ¶
AssertPathExists returns nil only if it has been successfully verified that all specified paths exists.
func AssertPathNotExists ¶
func Base64Decode ¶
Base64Decode decodes the specified bytes as any of the Base64 dialects: standard encoding (+, /) and URL encoding (-, _), with or without padding.
func CopyDirectory ¶
func EnsureDirectoryExists ¶
func PathExists ¶
PathExists checks if the specified path exists.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.