Documentation ¶
Index ¶
- Variables
- func CopyDirRecursive(src, dst string, overwrite bool) error
- func CopyFile(src, dst string, overwrite bool) error
- func CreateFileReadStream(path string) (*os.File, error)
- func FileExists(path string) (bool, error)
- func IsAccessible(path string) bool
- func IsDirectory(path string) (bool, error)
- func IsFile(path string) (bool, error)
- func ReadDirRecursive(p string) (map[string]fs.DirEntry, error)
- func ReadToBytes(path string) ([]byte, error)
- func ReadToString(path string) (string, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ERR_INVALID_DIR = errors.New("invaild directory")
)
Functions ¶
func CopyDirRecursive ¶
func FileExists ¶
func IsAccessible ¶
func IsDirectory ¶
func ReadToBytes ¶
func ReadToString ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.