@@ -9219,37 +9219,37 @@ def ListDirListFiles(infiles, dirlistfromtxt=False, compression="auto", compress
92199219PyNeoFile compatibility layer
92209220"""
92219221
9222- def make_empty_file_pointer_neo (fp , fmttype = None , checksumtype = 'crc32' , formatspecs = None , encoding = 'UTF-8' ):
9222+ def make_empty_file_pointer_neo (fp , fmttype = None , checksumtype = 'crc32' , formatspecs = __file_format_dict__ , encoding = 'UTF-8' ):
92239223 return MakeEmptyFilePointer (fp , fmttype , checksumtype , formatspecs )
92249224
9225- def make_empty_archive_file_pointer_neo (fp , fmttype = None , checksumtype = 'crc32' , formatspecs = None , encoding = 'UTF-8' ):
9225+ def make_empty_archive_file_pointer_neo (fp , fmttype = None , checksumtype = 'crc32' , formatspecs = __file_format_dict__ , encoding = 'UTF-8' ):
92269226 return make_empty_file_pointer_neo (fp , fmttype , checksumtype , formatspecs , encoding )
92279227
9228- def make_empty_file_neo (outfile = None , fmttype = None , checksumtype = 'crc32' , formatspecs = None , encoding = 'UTF-8' , returnfp = False ):
9228+ def make_empty_file_neo (outfile = None , fmttype = None , checksumtype = 'crc32' , formatspecs = __file_format_dict__ , encoding = 'UTF-8' , returnfp = False ):
92299229 return MakeEmptyFile (outfile , fmttype , "auto" , False , None , checksumtype , formatspecs , returnfp )
92309230
9231- def make_empty_archive_file_neo (outfile = None , fmttype = None , checksumtype = 'crc32' , formatspecs = None , encoding = 'UTF-8' , returnfp = False ):
9231+ def make_empty_archive_file_neo (outfile = None , fmttype = None , checksumtype = 'crc32' , formatspecs = __file_format_dict__ , encoding = 'UTF-8' , returnfp = False ):
92329232 return make_empty_file_neo (outfile , fmttype , checksumtype , formatspecs , encoding , returnfp )
92339233
9234- def pack_neo (infiles , outfile = None , formatspecs = None , checksumtypes = ["crc32" , "crc32" , "crc32" , "crc32" ], encoding = "UTF-8" , compression = "auto" , compression_level = None , returnfp = False ):
9234+ def pack_neo (infiles , outfile = None , formatspecs = __file_format_dict__ , checksumtypes = ["crc32" , "crc32" , "crc32" , "crc32" ], encoding = "UTF-8" , compression = "auto" , compression_level = None , returnfp = False ):
92359235 return PackCatFile (infiles , outfile , False , "auto" , compression , False , compression_level , compressionlistalt , False , checksumtypes , [], {}, formatspecs , False , returnfp )
92369236
9237- def archive_to_array_neo (infile , formatspecs = None , listonly = False , skipchecksum = False , uncompress = True , returnfp = False ):
9237+ def archive_to_array_neo (infile , formatspecs = __file_format_dict__ , listonly = False , skipchecksum = False , uncompress = True , returnfp = False ):
92389238 return CatFileToArray (infile , "auto" , 0 , 0 , listonly , True , uncompress , skipchecksum , formatspecs , False , returnfp )
92399239
9240- def unpack_neo (infile , outdir = '.' , formatspecs = None , skipchecksum = False , uncompress = True , returnfp = False ):
9240+ def unpack_neo (infile , outdir = '.' , formatspecs = __file_format_dict__ , skipchecksum = False , uncompress = True , returnfp = False ):
92419241 return UnPackCatFile (infile , outdir , False , 0 , 0 , skipchecksum , formatspecs , True , True , False , False , returnfp )
92429242
9243- def repack_neo (infile , outfile = None , formatspecs = None , checksumtypes = ["crc32" , "crc32" , "crc32" , "crc32" ], compression = "auto" , compression_level = None , returnfp = False ):
9243+ def repack_neo (infile , outfile = None , formatspecs = __file_format_dict__ , checksumtypes = ["crc32" , "crc32" , "crc32" , "crc32" ], compression = "auto" , compression_level = None , returnfp = False ):
92449244 return RePackCatFile (infile , outfile , "auto" , compression , False , compression_level , compressionlistalt , False , 0 , 0 , checksumtypes , False , [], {}, formatspecs , False , False , returnfp )
92459245
9246- def archivefilevalidate_neo (infile , formatspecs = None , verbose = False , return_details = False , returnfp = False ):
9246+ def archivefilevalidate_neo (infile , formatspecs = __file_format_dict__ , verbose = False , return_details = False , returnfp = False ):
92479247 return CatFileValidate (infile , "auto" , formatspecs , False , verbose , returnfp )
92489248
9249- def archivefilelistfiles_neo (infile , formatspecs = None , advanced = False , include_dirs = True , returnfp = False ):
9249+ def archivefilelistfiles_neo (infile , formatspecs = __file_format_dict__ , advanced = False , include_dirs = True , returnfp = False ):
92509250 return CatFileListFiles (infile , "auto" , 0 , 0 , False , formatspecs , False , True , advanced , returnfp )
92519251
9252- def convert_foreign_to_neo (infile , outfile = None , formatspecs = None , checksumtypes = ["crc32" , "crc32" , "crc32" , "crc32" ], compression = "auto" , compression_level = None , returnfp = False ):
9252+ def convert_foreign_to_neo (infile , outfile = None , formatspecs = __file_format_dict__ , checksumtypes = ["crc32" , "crc32" , "crc32" , "crc32" ], compression = "auto" , compression_level = None , returnfp = False ):
92539253 intmp = InFileToArray (infile , 0 , 0 , False , True , False , formatspecs , False , False )
92549254 return RePackCatFile (intmp , outfile , "auto" , compression , False , compression_level , compressionlistalt , False , 0 , 0 , checksumtypes , False , [], {}, formatspecs , False , False , returnfp )
92559255
0 commit comments