Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalcWhiteoutSize ¶
func CalcWhiteoutSize(hdr *tar.Header, f fs.Filesystem, format archive.WhiteoutFormat) (bool, error)
CalcWhiteoutSize calculates the size taken by a possible whiteout file on the file system. It returns true if the given file was actually a whiteout file and false otherwise.
func CreateTarDisk ¶
func CreateTarDisk(in io.Reader, f fs.Filesystem, options *archive.TarOptions, tmpdir string, disk *os.File) (uint64, error)
CreateTarDisk creates a file system image from the input tarstream with the given parameters and writes the image to the output file. It also returns the size of the image.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.