Documentation
¶
Index ¶
- Constants
- func CopyDir(src string, dest string) error
- func CopyFile(src string, dest string) error
- func DirExists(dir string) bool
- func Exists(filename string) bool
- func FileExists(filename string) bool
- func HasStdin() bool
- func IsSameFile(p1 string, p2 string) bool
- func MkdirAll(dirs ...string) []error
- func ReadLineByLine(path string, action func(line string)) error
- func ReadLineByLineChan(path string) (chan string, error)
- func ReadLineByLineChanReader(r io.Reader) chan string
- func ReadLineByLineReader(file io.Reader, action func(line string)) error
- func ReadLines(path string) ([]string, error)
- func ReadLinesMap(path string) (map[string]bool, error)
- func ReadLinesMapReader(file io.Reader) (map[string]bool, error)
- func ReadLinesReader(file io.Reader) ([]string, error)
- func ReadLowerLineByLine(path string, action func(line string)) error
- func ReadLowerLineByLineReader(file io.Reader, action func(line string)) error
- func ReadLowerLineMap(path string) (map[string]bool, error)
- func ReadLowerLineMapReader(file io.Reader) (map[string]bool, error)
- func ReadLowerLines(path string) ([]string, error)
- func ReadLowerLinesReader(file io.Reader) ([]string, error)
- func WriteLines(path string, lines []string) error
- func WriteLowerUniqueLines(path string, lines []string) error
- func WriteString(path string, content string) error
Constants ¶
View Source
const ( DefaultDirPerms fs.FileMode = 0755 DefaultFilePerms fs.FileMode = 0644 )
Variables ¶
This section is empty.
Functions ¶
func FileExists ¶
func IsSameFile ¶
func ReadLineByLine ¶
func ReadLineByLineChan ¶
func ReadLineByLineReader ¶
func ReadLowerLineByLine ¶
func ReadLowerLines ¶
func WriteLines ¶
func WriteLowerUniqueLines ¶
func WriteString ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.