Documentation ¶
Index ¶
- func AddExt(path string, ext string) string
- func Chmod(name string, mode os.FileMode) error
- func ChmodStrict(name string, mode os.FileMode)
- func Create(filename string) (f *os.File, err error)
- func CreateStrict(filename string) *os.File
- func DirSize(path string) (size int64, err error)
- func DirSizeStrict(path string) int64
- func DotExt(ext string) string
- func EqualExt(extA, extB string) bool
- func Exist(path string) bool
- func Ext(path string) string
- func FileModifyTime(path string) (time.Time, error)
- func FileModifyTimeStrict(path string) time.Time
- func FileSize(path string) (int64, error)
- func FileSizeStrict(path string) int64
- func ForEachLine(path string, fn func(string)) error
- func IsDir(path string) (bool, error)
- func IsDirStrict(path string) bool
- func MakeDir(dir string) error
- func MakeDirStrict(dir string)
- func Read(path string) ([]byte, error)
- func ReadCSV(path string) (records [][]string, err error)
- func ReadCSVstrict(path string) [][]string
- func ReadDir(dir string, ignorAccessDenied bool) (files []os.FileInfo, err error)
- func ReadDirStrict(dir string, ignorAccessDenied bool) []os.FileInfo
- func ReadLines(path string) ([]string, error)
- func ReadLinesStrict(path string) []string
- func ReadStrict(path string) []byte
- func ReadString(path string) (string, error)
- func ReadStringStrict(path string) string
- func Remove(path string) error
- func RemoveExt(path string) string
- func RemoveStrict(path string)
- func Rename(path, newName string) error
- func RenameStrict(path, newName string)
- func ReplaceExt(path string, ext string) string
- func Write(path string, content []byte) error
- func WriteCSV(path string, records [][]string) error
- func WriteCSVstrict(path string, records [][]string)
- func WriteStrict(path string, content []byte)
- func WriteString(path string, content string) error
- type List
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChmodStrict ¶ added in v0.1.32
func CreateStrict ¶ added in v0.1.32
func DirSizeStrict ¶ added in v0.1.32
func FileModifyTimeStrict ¶ added in v0.1.32
func FileSizeStrict ¶ added in v0.1.32
func ForEachLine ¶ added in v0.1.54
func IsDirStrict ¶ added in v0.1.32
func MakeDirStrict ¶ added in v0.1.32
func MakeDirStrict(dir string)
func ReadCSVstrict ¶ added in v0.1.32
func ReadDirStrict ¶ added in v0.1.32
func ReadLinesStrict ¶ added in v0.1.32
func ReadStrict ¶ added in v0.1.32
func ReadString ¶
func ReadStringStrict ¶ added in v0.1.32
func RemoveStrict ¶ added in v0.1.32
func RemoveStrict(path string)
func RenameStrict ¶ added in v0.1.32
func RenameStrict(path, newName string)
func ReplaceExt ¶
func WriteCSVstrict ¶ added in v0.1.32
func WriteStrict ¶ added in v0.1.32
func WriteString ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.