Documentation ¶
Index ¶
- func Checksum(path string) (checksum string, err error)
- func Copy(ctx context.Context, src, dst string) (err error)
- func HandleSignals(fn SignalsFunc)
- func Move(ctx context.Context, src, dst string) (err error)
- func TempDir(prefix string) (path string, err error)
- func TempFile(i []byte) (name string, err error)
- type SignalsFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Copy ¶
Copy is a cross partitions cancellable copy If src is a file, dst must be the full path to file once copied If src is a dir, dst must be the full path to the dir once copied
func HandleSignals ¶
func HandleSignals(fn SignalsFunc)
Types ¶
type SignalsFunc ¶
func ContextSignalsFunc ¶
func ContextSignalsFunc(c context.CancelFunc) SignalsFunc
Click to show internal directories.
Click to hide internal directories.