Documentation ¶
Index ¶
- func CopyFile(dst, src string) error
- func CopyFileIntoDir(src string, dir string) error
- func CopyFileIntoDirOrFatal(src string, dir string) error
- func FileCount(dirname string) (int, error)
- func FormatFileSize(fileSize int64) (size string)
- func ListFileNames(dirname string) ([]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 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.