Versions in this module Expand all Collapse all v0 v0.14.0 Mar 22, 2025 Changes in this version + func Copy(src, dst string, opts ...CopyOption) error + func GetIOStreams(ctx context.Context) (ioStreams *clioptions.IOStreams) + func IsDir(dir string) bool + func IsExist(path string) bool + func IsFile(file string) bool + func MustGetIOStreams(ctx context.Context) (ioStreams *clioptions.IOStreams) + func WithIOStreams(ctx context.Context, ioStreams *clioptions.IOStreams) context.Context + func WriteFile(dstFile string, content []byte, perm os.FileMode) error + type Config struct + FileFilter []func(srcFile, dstFile string) bool + type CopyOption func(config *Config) + func FileFilterOption(f func(srcFile, dstFile string) bool) CopyOption