Documentation
¶
Index ¶
- func CleanDir(ctx context.Context, path string) error
- func CopyDir(ctx context.Context, src, dest string) error
- func ReadDir(ctx context.Context, path string, opts ReadDirOptions) ([]file.File, error)
- func ReadFile(ctx context.Context, path string) (file.File, error)
- func ReadFiles(ctx context.Context, files []file.File, opts ReadFilesOptions) ([]file.File, error)
- func WriteFiles(ctx context.Context, files []file.File) error
- type ReadDirOptions
- type ReadFilesOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ReadDirOptions ¶
type ReadDirOptions struct {
NoFailOnMissing bool
}
type ReadFilesOptions ¶ added in v1.0.7
type ReadFilesOptions struct {
NoFailOnMissing bool
}
Click to show internal directories.
Click to hide internal directories.