Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GlobMany ¶ added in v0.0.44
GlobMany performs a glob on many patterns and returns a set of entries (path and file info header) The resulting set of entries is unique by filepath
func PackageModule ¶ added in v0.0.44
func PackageModule(dir, filename string, patterns []string, excludeFn func(entry GlobEntry) bool) error
PackageModule creates a tar.gz containing the module files 'filename' allows a developer to specify where to write the tar.gz 'patterns' allows a developer to specify which file patterns are included in the tar.gz This is more effective than the built-in tar command because it won't fail if a pattern doesn't match any files
Types ¶
Click to show internal directories.
Click to hide internal directories.