Documentation
¶
Index ¶
- func CheckFilesFinal(files []string) bool
- func CheckFilesOverwrite(files []string, overwrite bool) int
- func CheckInputFiles(files []string) error
- func CheckRenameFinal(old string, new string) bool
- func CheckRenameOverwrite(old string, new string, overwrite bool) int
- func CopyFile(dstFilePath string, srcFilePath string) (written int64, err error)
- func CreateDir(name string) error
- func CreateFile(name string) error
- func CreateFileParDir(name string) error
- func FileSize(filename string) int64
- func LinkFileToDir(oldname, newname string) error
- func NewOutStream(outfn string, url string) *os.File
- func Open(name string) (*os.File, error)
- func PathExists(name string) (bool, error)
- func ReadLines(fn string) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckFilesFinal ¶
CheckFilesFinal batch to check wheathre final files is existed
func CheckFilesOverwrite ¶
CheckFilesOverwrite check wheather to overwrite existing files
func CheckRenameFinal ¶
CheckRenameFinal check final file wheather renamed
func CheckRenameOverwrite ¶
CheckRenameOverwrite check wheather to rename existing files
func CreateFileParDir ¶
CreateFileParDir create parant dir of file
func LinkFileToDir ¶
LinkFileToDir create os.Symlink
func NewOutStream ¶
NewOutStream set stdout or outfn
func PathExists ¶
PathExists check wheather file is existed
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.