Skip to main content

archive_check

archive_check(lzma_fn, inputs, rename_func=None)

Check if the lzma file is correct by comparing it with the original files.

Parameters

Name Type Description Default
lzma_fn str The name of the lzma file to be compared. required
inputs str or list of str A file or directory or a list of files and/or directories to be compared with the tar file. required
rename_func function or None A function to rename the files in the tar file. None

Returns

Name Type Description
success bool True if the lzma file is correct, False otherwise.