Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompressDirectory ¶
func CompressDirectory(source string, chroot string, opts *CompressOptions) (string, error)
func CompressFile ¶
func CompressFile(source string, chroot string, opts *CompressOptions) (string, error)
Types ¶
type CompressOptions ¶
type CompressOptions struct {
RemoveSource bool
}
func DefaultCompressOptions ¶
func DefaultCompressOptions() *CompressOptions
Click to show internal directories.
Click to hide internal directories.