@@ -175,69 +175,69 @@ def handler(signum, frame):
175175 checkcompressfile = pycatfile .CheckCompressionSubType (
176176 input_file , fnamedict , True )
177177 if ((IsNestedDict (fnamedict ) and compresscheck in fnamedict ) or (IsSingleDict (fnamedict ) and compresscheck == fnamedict ['format_magic' ])):
178- tmpout = pycatfile .RePackArchiveFile (input_file , getargs .output , getargs .compression , getargs .wholefile , getargs .level , pycatfile .compressionlistalt , False , 0 , 0 , [getargs .checksum , getargs .checksum , getargs .checksum ], getargs .skipchecksum , [], fnamedict , getargs .verbose , False )
178+ tmpout = pycatfile .RePackCatFile (input_file , getargs .output , getargs .compression , getargs .wholefile , getargs .level , pycatfile .compressionlistalt , False , 0 , 0 , [getargs .checksum , getargs .checksum , getargs .checksum ], getargs .skipchecksum , [], fnamedict , getargs .verbose , False )
179179 else :
180- tmpout = pycatfile .PackArchiveFileFromInFile (
180+ tmpout = pycatfile .PackCatFileFromInFile (
181181 input_file , getargs .output , __file_format_default__ , getargs .compression , getargs .wholefile , getargs .level , pycatfile .compressionlistalt , [getargs .checksum , getargs .checksum , getargs .checksum ], [], fnamedict , getargs .verbose , False )
182182 if (not tmpout ):
183183 sys .exit (1 )
184184 else :
185- pycatfile .PackArchiveFile (getargs .input , getargs .output , getargs .text , __file_format_default__ , getargs .compression , getargs .wholefile , getargs .level , pycatfile .compressionlistalt , False , [getargs .checksum , getargs .checksum , getargs .checksum ], [], fnamedict , getargs .verbose , False )
185+ pycatfile .PackCatFile (getargs .input , getargs .output , getargs .text , __file_format_default__ , getargs .compression , getargs .wholefile , getargs .level , pycatfile .compressionlistalt , False , [getargs .checksum , getargs .checksum , getargs .checksum ], [], fnamedict , getargs .verbose , False )
186186 elif active_action == 'repack' :
187187 if getargs .convert :
188188 checkcompressfile = pycatfile .CheckCompressionSubType (
189189 input_file , fnamedict , True )
190190 if ((IsNestedDict (fnamedict ) and compresscheck in fnamedict ) or (IsSingleDict (fnamedict ) and compresscheck == fnamedict ['format_magic' ])):
191- pycatfile .RePackArchiveFile (input_file , getargs .output , getargs .compression , getargs .wholefile , getargs .level , pycatfile .compressionlistalt ,
191+ pycatfile .RePackCatFile (input_file , getargs .output , getargs .compression , getargs .wholefile , getargs .level , pycatfile .compressionlistalt ,
192192 False , 0 , 0 , [getargs .checksum , getargs .checksum , getargs .checksum ], getargs .skipchecksum , [], fnamedict , getargs .verbose , False )
193193 else :
194- pycatfile .PackArchiveFileFromInFile (input_file , getargs .output , __file_format_default__ , getargs .compression , getargs .wholefile , getargs .level , pycatfile .compressionlistalt , [getargs .checksum , getargs .checksum , getargs .checksum ], [], fnamedict , getargs .verbose , False )
194+ pycatfile .PackCatFileFromInFile (input_file , getargs .output , __file_format_default__ , getargs .compression , getargs .wholefile , getargs .level , pycatfile .compressionlistalt , [getargs .checksum , getargs .checksum , getargs .checksum ], [], fnamedict , getargs .verbose , False )
195195 if (not tmpout ):
196196 sys .exit (1 )
197197 else :
198- pycatfile .RePackArchiveFile (input_file , getargs .output , getargs .compression , getargs .wholefile , getargs .level , pycatfile .compressionlistalt ,
198+ pycatfile .RePackCatFile (input_file , getargs .output , getargs .compression , getargs .wholefile , getargs .level , pycatfile .compressionlistalt ,
199199 False , 0 , 0 , [getargs .checksum , getargs .checksum , getargs .checksum ], getargs .skipchecksum , [], fnamedict , getargs .verbose , False )
200200 elif active_action == 'extract' :
201201 if getargs .convert :
202202 checkcompressfile = pycatfile .CheckCompressionSubType (
203203 input_file , fnamedict , True )
204204 tempout = BytesIO ()
205205 if ((IsNestedDict (fnamedict ) and compresscheck in fnamedict ) or (IsSingleDict (fnamedict ) and compresscheck == fnamedict ['format_magic' ])):
206- tmpout = pycatfile .RePackArchiveFile (input_file , tempout , getargs .compression , getargs .wholefile , getargs .level , pycatfile .compressionlistalt , False , 0 , 0 , [getargs .checksum , getargs .checksum , getargs .checksum ], getargs .skipchecksum , [], fnamedict , False , False )
206+ tmpout = pycatfile .RePackCatFile (input_file , tempout , getargs .compression , getargs .wholefile , getargs .level , pycatfile .compressionlistalt , False , 0 , 0 , [getargs .checksum , getargs .checksum , getargs .checksum ], getargs .skipchecksum , [], fnamedict , False , False )
207207 else :
208- tmpout = pycatfile .PackArchiveFileFromInFile (
208+ tmpout = pycatfile .PackCatFileFromInFile (
209209 input_file , tempout , __file_format_default__ , getargs .compression , getargs .wholefile , getargs .level , pycatfile .compressionlistalt , [getargs .checksum , getargs .checksum , getargs .checksum ], [], fnamedict , False , False )
210210 if (not tmpout ):
211211 sys .exit (1 )
212212 input_file = tempout
213- pycatfile .UnPackArchiveFile (input_file , getargs .output , False , 0 , 0 , getargs .skipchecksum ,
213+ pycatfile .UnPackCatFile (input_file , getargs .output , False , 0 , 0 , getargs .skipchecksum ,
214214 fnamedict , getargs .verbose , getargs .preserve , getargs .preserve , False )
215215 elif active_action == 'list' :
216216 if getargs .convert :
217217 checkcompressfile = pycatfile .CheckCompressionSubType (
218218 input_file , fnamedict , True )
219219 if ((IsNestedDict (fnamedict ) and compresscheck in fnamedict ) or (IsSingleDict (fnamedict ) and compresscheck == fnamedict ['format_magic' ])):
220- tmpout = pycatfile .ArchiveFileListFiles (input_file , "auto" , 0 , 0 , getargs .skipchecksum , fnamedict , getargs .verbose , False )
220+ tmpout = pycatfile .CatFileListFiles (input_file , "auto" , 0 , 0 , getargs .skipchecksum , fnamedict , getargs .verbose , False )
221221 else :
222222 tmpout = pycatfile .InFileListFiles (input_file , getargs .verbose , fnamedict , False )
223223 if (not tmpout ):
224224 sys .exit (1 )
225225 else :
226- pycatfile .ArchiveFileListFiles (input_file , "auto" , 0 , 0 , getargs .skipchecksum , fnamedict , getargs .verbose , False )
226+ pycatfile .CatFileListFiles (input_file , "auto" , 0 , 0 , getargs .skipchecksum , fnamedict , getargs .verbose , False )
227227 elif active_action == 'validate' :
228228 if getargs .convert :
229229 checkcompressfile = pycatfile .CheckCompressionSubType (
230230 input_file , fnamedict , True )
231231 tempout = BytesIO ()
232232 if ((IsNestedDict (fnamedict ) and compresscheck in fnamedict ) or (IsSingleDict (fnamedict ) and compresscheck == fnamedict ['format_magic' ])):
233- tmpout = pycatfile .RePackArchiveFile (input_file , tempout , getargs .compression , getargs .wholefile , getargs .level , pycatfile .compressionlistalt , False , 0 , 0 , [getargs .checksum , getargs .checksum , getargs .checksum ], getargs .skipchecksum , [], fnamedict , False , False )
233+ tmpout = pycatfile .RePackCatFile (input_file , tempout , getargs .compression , getargs .wholefile , getargs .level , pycatfile .compressionlistalt , False , 0 , 0 , [getargs .checksum , getargs .checksum , getargs .checksum ], getargs .skipchecksum , [], fnamedict , False , False )
234234 else :
235- tmpout = pycatfile .PackArchiveFileFromInFile (
235+ tmpout = pycatfile .PackCatFileFromInFile (
236236 input_file , tempout , __file_format_default__ , getargs .compression , getargs .wholefile , getargs .level , pycatfile .compressionlistalt , [getargs .checksum , getargs .checksum , getargs .checksum ], [], fnamedict , False , False )
237237 input_file = tempout
238238 if (not tmpout ):
239239 sys .exit (1 )
240- fvalid = pycatfile .ArchiveFileValidate (
240+ fvalid = pycatfile .CatFileValidate (
241241 input_file , "auto" , fnamedict , getargs .verbose , False )
242242 if (not getargs .verbose ):
243243 import sys
0 commit comments