sloop.io.tarpat
- sloop.io.tarpat(outfile, directory, patterns=['*'])[source]
Create a .tar file given a list of file patterns
- Parameters
outfile (str) – File name of the output .tar file
directory (str) – Files are considered relative this directory
patterns (list of str) – List of glob patterns relative to directory
- Returns
List of files that were added to the archive as absolute paths
- Return type
list