Documentation
¶
Index ¶
- func CopyFile(dst, src string) (err error)
- func Create(fileName string) (file *os.File)
- func FS2Array(file fs.File) []string
- func FS2MapArray(file fs.File, sep string, skip *regexp.Regexp) ([]map[string]string, []string)
- func FileEmpty(fileName string) bool
- func FileExists(fileName string) bool
- func Hostname() string
- func Open(fileName string) (file *os.File)
- func OpenFS(fileName, dirName string, fs embed.FS) fs.File
- func Symlink(source, dest string) error
- func Write(file *os.File, b []byte) int
- func WriteClose(file *os.File, b []byte) int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FS2MapArray ¶ added in v0.2.0
func FileExists ¶ added in v0.0.29
FileExists check if a file exists and is not a directory
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.