Documentation
¶
Index ¶
- func BustGhosts(params *BustGhostsParams) error
- func ContainerPaths(container *tlc.Container) []string
- func Difference(a []string, b []string) []string
- func DotItchFilter(basePath string) tlc.FilterFunc
- func Exists(path string) bool
- func Mkdir(path string) error
- func SliceToLength(a []string, length int) []string
- func Walk(path string) (*tlc.Container, error)
- type BustGhostsParams
- type DirTree
- type Receipt
- type SaveAngelsFunc
- type SaveAngelsParams
- type SaveAngelsResult
- type WalkFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BustGhosts ¶
func BustGhosts(params *BustGhostsParams) error
func ContainerPaths ¶
ContainerPaths returns a list of all paths in a container, for all files and symlinks. Folders are excluded
func Difference ¶
Return elements in b that aren't in a
func DotItchFilter ¶
func DotItchFilter(basePath string) tlc.FilterFunc
func SliceToLength ¶
Types ¶
type BustGhostsParams ¶
type DirTree ¶
type DirTree struct {
// contains filtered or unexported fields
}
func NewDirTree ¶
func (*DirTree) CommitFiles ¶
func (*DirTree) EnsureParents ¶
EnsureParents makes sure that all the parent directories of a given path exist
func (*DirTree) ListRelativeDirs ¶
ListRelativeDirs returns a list of directories in this tree, relative to the tree's base path, depth first
type SaveAngelsFunc ¶
type SaveAngelsFunc func() error
type SaveAngelsParams ¶
type SaveAngelsResult ¶
type SaveAngelsResult struct {
Files []string
}
func SaveAngels ¶
func SaveAngels(params *SaveAngelsParams, innerTask SaveAngelsFunc) (*SaveAngelsResult, error)
Click to show internal directories.
Click to hide internal directories.