Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TarFileSystem ¶
func TarFileSystem(fs vfs.FileSystem, root string, writer io.Writer, opts TarFileSystemOptions) error
TarFileSystem creates a tar archive from a filesystem.
Types ¶
type TarFileSystemOptions ¶
type TarFileSystemOptions struct { IncludeFiles []string ExcludeFiles []string // PreserveDir defines that the directory specified in the Path field should be included in the blob. // Only supported for Type dir. PreserveDir bool FollowSymlinks bool // contains filtered or unexported fields }
TarFileSystemOptions describes additional options for tarring a filesystem.
Click to show internal directories.
Click to hide internal directories.