Skip to content

Commit

Permalink
Update pycatfile.py
Browse files Browse the repository at this point in the history
  • Loading branch information
KazukiPrzyborowski committed Jan 15, 2025
1 parent 6aa5330 commit 3d2b2e7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pycatfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -6819,6 +6819,10 @@ def ArchiveFileValidate(infile, formatspecs=__file_format_dict__, verbose=False,
return False


def ArchiveFileValidateFile(infile, formatspecs=__file_format_dict__, verbose=False, returnfp=False):
return ArchiveFileValidate(infile, formatspecs, verbose, returnfp)


def ArchiveFileToArray(infile, seekstart=0, seekend=0, listonly=False, contentasfile=True, uncompress=True, skipchecksum=False, formatspecs=__file_format_dict__, returnfp=False):
formatspecs = FormatSpecsListToDict(formatspecs)
if(hasattr(infile, "read") or hasattr(infile, "write")):
Expand Down

0 comments on commit 3d2b2e7

Please sign in to comment.