Skip to content

Commit 140eaac

Browse files
author
Kazuki Suzuki Przyborowski
committed
Update pyfoxfile.py
1 parent 3b56a1b commit 140eaac

1 file changed

Lines changed: 4 additions & 21 deletions

File tree

pyfoxfile.py

Lines changed: 4 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -8637,9 +8637,9 @@ def UnPackFoxFile(infile, outdir=None, followlink=False, filestart=0, seekstart=
86378637
return True
86388638

86398639

8640-
def UnPackFoxFileString(instr, outdir=None, followlink=False, seekstart=0, seekend=0, skipchecksum=False, formatspecs=__file_format_multi_dict__, seektoend=False, verbose=False, returnfp=False):
8640+
def UnPackFoxFileString(instr, outdir=None, followlink=False, filestart=0, seekstart=0, seekend=0, skipchecksum=False, formatspecs=__file_format_multi_dict__, seektoend=False, verbose=False, returnfp=False):
86418641
fp = MkTempFile(instr)
8642-
listarrayfiles = UnPackFoxFile(fp, outdir, followlink, seekstart, seekend, skipchecksum, formatspecs, seektoend, verbose, returnfp)
8642+
listarrayfiles = UnPackFoxFile(fp, outdir, followlink, filestart, seekstart, seekend, skipchecksum, formatspecs, seektoend, verbose, returnfp)
86438643
return listarrayfiles
86448644

86458645
def ftype_to_str(ftype):
@@ -8761,26 +8761,9 @@ def MultipleStackedFoxFileListFiles(infile, fmttype="auto", filestart=0, seeksta
87618761
return outretval
87628762

87638763

8764-
def FoxFileStringToArray(instr, filestart=0, seekstart=0, seekend=0, listonly=False, contentasfile=True, skipchecksum=False, formatspecs=__file_format_multi_dict__, seektoend=False, returnfp=False):
8765-
checkcompressfile = CheckCompressionSubType(infile, formatspecs, filestart, True)
8766-
if(IsNestedDict(formatspecs) and checkcompressfile in formatspecs):
8767-
formatspecs = formatspecs[checkcompressfile]
8764+
def FoxFileStringListFiles(instr, filestart=0, seekstart=0, seekend=0, skipchecksum=False, formatspecs=__file_format_multi_dict__, seektoend=False, verbose=False, newstyle=False, returnfp=False):
87688765
fp = MkTempFile(instr)
8769-
listarrayfiles = FoxFileToArray(fp, "auto", filestart, seekstart, seekend, listonly, contentasfile, True, skipchecksum, formatspecs, seektoend, returnfp)
8770-
return listarrayfiles
8771-
8772-
8773-
def FoxFileStringListFiles(instr, seekstart=0, seekend=0, skipchecksum=False, formatspecs=__file_format_multi_dict__, seektoend=False, verbose=False, newstyle=False, returnfp=False):
8774-
fp = MkTempFile(instr)
8775-
listarrayfiles = FoxFileListFiles(
8776-
instr, seekstart, seekend, skipchecksum, formatspecs, seektoend, verbose, newstyle, returnfp)
8777-
return listarrayfiles
8778-
8779-
8780-
def FoxFileStringListFiles(instr, seekstart=0, seekend=0, skipchecksum=False, formatspecs=__file_format_multi_dict__, seektoend=False, verbose=False, newstyle=False, returnfp=False):
8781-
fp = MkTempFile(instr)
8782-
listarrayfiles = FoxFileListFiles(
8783-
instr, seekstart, seekend, skipchecksum, formatspecs, seektoend, verbose, newstyle, returnfp)
8766+
listarrayfiles = FoxFileListFiles(instr, "auto", filestart, seekstart, seekend, skipchecksum, formatspecs, seektoend, verbose, newstyle, returnfp)
87848767
return listarrayfiles
87858768

87868769

0 commit comments

Comments
 (0)