Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Dir ¶
type Dir struct {
Backup bool
Skip func(name string, isDir bool) (skip bool)
Files map[string]string // String files (convenient)
BFiles map[string][]byte // Byte files (for images and binaries)
Modules map[string]string // name[version]
NodeModules map[string]string // name[version]
// contains filtered or unexported fields
}
func (*Dir) Exists ¶ added in v0.1.5
Exists returns nil if path exists. Should be called after Write.
func (*Dir) NotExists ¶ added in v0.1.5
NotExists returns nil if path doesn't exist. Should be called after Write.
Click to show internal directories.
Click to hide internal directories.