Documentation
¶
Index ¶
- func ResolveWildcards(string, string, bool) ([]string, error)
- type Copier
- func (c *Copier) Close() error
- func (c *Copier) Copy(context.Context, Mount, string, string, CopyOptions) error
- func (c *Copier) CopyFile(context.Context, Mount, string, string, CopyOptions) error
- func (c *Copier) MaterializeDestDir(context.Context, string) (string, error)
- func (c *Copier) Mkdir(context.Context, string, 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.