UntarStep
public UntarStep(ProjectFilesystem filesystem,
Path archiveFile,
Path destinationDirectory,
Optional<Path> stripPrefix,
ArchiveFormat format)
Create an instance of UntarStep
- Parameters:
filesystem - The filesystem that the archive will be extracted into
archiveFile - The path to the file to extract
destinationDirectory - The directory to extract files into
stripPrefix - If present, strip this prefix from paths inside of the archive
format - The format to extract
- Throws:
RuntimeException - if a non-tar format is provided