Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractAndWriteFile ¶
func ExtractAndWriteFile(r io.Reader, destDir, fileName string, isDir bool, mode os.FileMode) (string, error)
ExtractAndWriteFile extracts the file backing the io.Reader into the right location. It is the caller's responsibility to close that the reader if needed (which is why this method doesnt take an io.ReadCloser)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.