tarfile

Tar file parsing.

Functions

compress_tarfile(input, output)

Decompress a given directory into a tarfile.

extract_tarfile(input, output)

Decompress a given tarfile.

undertale.pipeline.tarfile.extract_tarfile(input: str, output: str) str

Decompress a given tarfile.

Parameters:
  • input – Path to the tar input file.

  • output – Path to the output directory to create.

Returns:

The output directory created.

undertale.pipeline.tarfile.compress_tarfile(input: str, output: str) str

Decompress a given directory into a tarfile.

Parameters:
  • input – Path to the input directory.

  • output – Path to the output tarfile to create.

Returns:

The output tarfile created.