Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Meta ¶
type Meta struct {
// The list of files contained in the slug.
Files []string
// Total size of the slug in bytes.
Size int64
}
Meta provides detailed information about a slug.
func Pack ¶
Pack creates a slug from a src directory, and writes the new slug to w. Returns metadata about the slug and any errors.
When dereference is set to true, symlinks with a target outside of the src directory will be dereferenced. When dereference is set to false symlinks with a target outside the src directory are omitted from the slug.
Click to show internal directories.
Click to hide internal directories.