Documentation ¶
Index ¶
- Variables
- func Clear(dir string) error
- func Copy(dst Writer, src Reader) (written int64, err error)
- func CopyFile(src, dst string) error
- func DirExists(path string) bool
- func ErrFromContext(ctx context.Context) io.Writer
- func ErrWithContext(ctx context.Context, err io.Writer) context.Context
- func FileExists(path string) bool
- func Move(sdir, ddir string) error
- func OutFromContext(ctx context.Context) io.Writer
- func OutWithContext(ctx context.Context, out io.Writer) context.Context
- type Reader
- type Writer
Constants ¶
This section is empty.
Variables ¶
View Source
var Discard = io.Discard
Functions ¶
func FileExists ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.