@@ -8303,15 +8303,6 @@ def MultipleFoxFilesToArray(infile, fmttype="auto", filestart=0, seekstart=0, se
83038303 return MultipleFoxFileToArray (infile , fmttype , filestart , seekstart , seekend , listonly , contentasfile , uncompress , skipchecksum , formatspecs , saltkey , seektoend , returnfp )
83048304
83058305
8306- def FoxFileStringToArray (instr , filestart = 0 , seekstart = 0 , seekend = 0 , listonly = False , contentasfile = True , skipchecksum = False , formatspecs = __file_format_multi_dict__ , saltkey = None , seektoend = False , returnfp = False ):
8307- checkcompressfile = CheckCompressionSubType (infile , formatspecs , filestart , True )
8308- if (IsNestedDict (formatspecs ) and checkcompressfile in formatspecs ):
8309- formatspecs = formatspecs [checkcompressfile ]
8310- fp = MkTempFile (instr )
8311- listarrayfiles = FoxFileToArray (fp , "auto" , filestart , seekstart , seekend , listonly , contentasfile , True , skipchecksum , formatspecs , saltkey , seektoend , returnfp )
8312- return listarrayfiles
8313-
8314-
83158306def TarFileToArray (infile , seekstart = 0 , seekend = 0 , listonly = False , contentasfile = True , skipchecksum = False , formatspecs = __file_format_dict__ , seektoend = False , returnfp = False ):
83168307 checkcompressfile = CheckCompressionSubType (infile , formatspecs , filestart , True )
83178308 if (IsNestedDict (formatspecs ) and checkcompressfile in formatspecs ):
@@ -8888,11 +8879,6 @@ def RePackMultipleFoxFile(infiles, outfile, fmttype="auto", compression="auto",
88888879 return True
88898880 return returnout
88908881
8891- def RePackFoxFileFromString (instr , outfile , fmttype = "auto" , compression = "auto" , compresswholefile = True , compressionlevel = None , compressionuselist = compressionlistalt , followlink = False , filestart = 0 , seekstart = 0 , seekend = 0 , checksumtype = ["md5" , "md5" , "md5" , "md5" , "md5" ], skipchecksum = False , extradata = [], jsondata = {}, formatspecs = __file_format_multi_dict__ , insaltkey = None , outsaltkey = None , seektoend = False , verbose = False , returnfp = False ):
8892- fp = MkTempFile (instr )
8893- listarrayfiles = RePackFoxFile (fp , outfile , fmttype , compression , compresswholefile , compressionlevel , compressionuselist , followlink , filestart , seekstart , seekend , checksumtype , skipchecksum , extradata , jsondata , formatspecs , insaltkey , outsaltkey , seektoend , verbose , returnfp )
8894- return listarrayfiles
8895-
88968882
88978883def PackFoxFileFromListDir (infiles , outfile , dirlistfromtxt = False , fmttype = "auto" , compression = "auto" , compresswholefile = True , compressionlevel = None , compressionuselist = compressionlistalt , followlink = False , filestart = 0 , seekstart = 0 , seekend = 0 , checksumtype = ["md5" , "md5" , "md5" , "md5" , "md5" ], skipchecksum = False , extradata = [], jsondata = {}, formatspecs = __file_format_dict__ , saltkey = None , seektoend = False , verbose = False , returnfp = False ):
88988884 outarray = MkTempFile ()
@@ -9156,12 +9142,6 @@ def UnPackFoxFile(infile, outdir=None, followlink=False, filestart=0, seekstart=
91569142 else :
91579143 return True
91589144
9159-
9160- def UnPackFoxFileString (instr , outdir = None , followlink = False , filestart = 0 , seekstart = 0 , seekend = 0 , skipchecksum = False , formatspecs = __file_format_multi_dict__ , saltkey = None , seektoend = False , verbose = False , returnfp = False ):
9161- fp = MkTempFile (instr )
9162- listarrayfiles = UnPackFoxFile (fp , outdir , followlink , filestart , seekstart , seekend , skipchecksum , formatspecs , saltkey , seektoend , verbose , returnfp )
9163- return listarrayfiles
9164-
91659145def ftype_to_str (ftype ):
91669146 mapping = {
91679147 0 : "file" , # file
@@ -9326,12 +9306,6 @@ def MultipleStackedFoxFileListFiles(infile, fmttype="auto", filestart=0, seeksta
93269306 return outretval
93279307
93289308
9329- def FoxFileStringListFiles (instr , filestart = 0 , seekstart = 0 , seekend = 0 , skipchecksum = False , formatspecs = __file_format_multi_dict__ , saltkey = None , seektoend = False , verbose = False , newstyle = False , returnfp = False ):
9330- fp = MkTempFile (instr )
9331- listarrayfiles = FoxFileListFiles (instr , "auto" , filestart , seekstart , seekend , skipchecksum , formatspecs , saltkey , seektoend , verbose , newstyle , returnfp )
9332- return listarrayfiles
9333-
9334-
93359309def TarFileListFiles (infile , formatspecs = __file_format_multi_dict__ , verbose = False , returnfp = False ):
93369310 if (isinstance (infile , (list , tuple , ))):
93379311 infile = infile [0 ]
0 commit comments