Documentation
¶
Index ¶
- func CopyFile(dst, src string) error
- func CopyFileIntoDir(src string, dir string) error
- func CopyFileIntoDirOrFatal(src string, dir string) error
- func CountDirFiles(dirName string) (int, error)
- func FileCount(dirname string) (int, error)
- func FormatFileSize(fileSize int64) (size string)
- func IsDir(path string) bool
- func IsFile(filePath string) bool
- func IsSymlink(mode os.FileMode) bool
- func ListFileNames(dirname string) ([]string, error)
- func MkDirs(dirs ...string) error
- func NewLazyWriter(name string) io.WriteCloser
- func TaskConsume(i interface{})
- type FileTask
- type LazyWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyFileIntoDir ¶
func CopyFileIntoDirOrFatal ¶
func CountDirFiles ¶ added in v0.0.3
func FormatFileSize ¶
func ListFileNames ¶
func NewLazyWriter ¶
func NewLazyWriter(name string) io.WriteCloser
func TaskConsume ¶
func TaskConsume(i interface{})
Types ¶
type LazyWriter ¶
type LazyWriter struct {
// contains filtered or unexported fields
}
func (*LazyWriter) Close ¶
func (l *LazyWriter) Close() error
Click to show internal directories.
Click to hide internal directories.