Documentation
¶
Index ¶
- func ResolveWildcards(root, src string, followLinks bool) ([]string, error)
- type Copier
- func (c *Copier) Close() error
- func (c *Copier) Copy(ctx context.Context, src Mount, srcPath, destPath string, opts CopyOptions) error
- func (c *Copier) CopyFile(ctx context.Context, src Mount, srcPath, destPath string, opts CopyOptions) error
- func (c *Copier) MaterializeDestDir(ctx context.Context, destPath string) (string, error)
- func (c *Copier) Mkdir(ctx context.Context, destPath string, opts CopyOptions) error
- func (c *Copier) Usage() (snapshots.Usage, error)
- type CopyOptions
- type Filter
- type Mount
- type Ownership
- type XAttrErrorHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Copier ¶
type Copier struct {
// contains filtered or unexported fields
}
func (*Copier) MaterializeDestDir ¶
type CopyOptions ¶
type CopyOptions struct {
Filter Filter
Chown *Ownership
Mode *os.FileMode
XAttrErrorHandler XAttrErrorHandler
CopyDirContents bool
ReplaceExisting bool
DestPathHintIsDir bool
// DisableHardlinks disables all hardlink creation, including hardlink
// preservation between entries created by this copy.
DisableHardlinks bool
// DisableSourceHardlinks disables hardlinking from source paths into the
// destination while still preserving hardlinks within this copy.
DisableSourceHardlinks bool
}
type XAttrErrorHandler ¶
Click to show internal directories.
Click to hide internal directories.