Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Glob ¶
Returns all files within rootDir that match any provided glob pattern. To treat dest as parent directory it must end with the path separator character.
func ValidateGlob ¶
Types ¶
type FSOptions ¶
type FSOptions struct { UIDMappings []specs.LinuxIDMapping GIDMappings []specs.LinuxIDMapping Rootless bool }
type FileSystemBuilder ¶
type FileSystemBuilder struct {
// contains filtered or unexported fields
}
func NewFileSystemBuilder ¶
func NewFileSystemBuilder(root string, opts FSOptions, logger Logger) *FileSystemBuilder
func (*FileSystemBuilder) Add ¶
func (s *FileSystemBuilder) Add(src, destFile string, usr *idutils.UserIds) (err error)
func (*FileSystemBuilder) Files ¶
func (s *FileSystemBuilder) Files() []string
Click to show internal directories.
Click to hide internal directories.