Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Directory ¶
type Directory struct {
// contains filtered or unexported fields
}
func NewDirectory ¶
type FileAttr ¶
General file attributes: if these are not specified in the spec, these will default to root:root with mode 0755 for type Directory and root:root with mode 0644 for RegularFile, Device and Link.
type RegularFile ¶
type RegularFile struct {
// contains filtered or unexported fields
}
func NewRegularFile ¶
func NewRegularFile(source, target string) RegularFile
func (RegularFile) Source ¶
func (r RegularFile) Source() string
type Statements ¶
type Statements []Statement
func Parse ¶
func Parse(filename string) (Statements, error)
func (Statements) Len ¶
func (s Statements) Len() int
func (Statements) Less ¶
func (s Statements) Less(i, j int) bool
func (Statements) Swap ¶
func (s Statements) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.