Skip to content

Commit f9d1673

Browse files
committed
Small update
1 parent e4aae03 commit f9d1673

1 file changed

Lines changed: 0 additions & 26 deletions

File tree

pyneofile/pyneofile.py

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -8296,15 +8296,6 @@ def MultipleNeoFilesToArray(infile, fmttype="auto", filestart=0, seekstart=0, se
82968296
return MultipleNeoFileToArray(infile, fmttype, filestart, seekstart, seekend, listonly, contentasfile, uncompress, skipchecksum, formatspecs, saltkey, seektoend, returnfp)
82978297

82988298

8299-
def NeoFileStringToArray(instr, filestart=0, seekstart=0, seekend=0, listonly=False, contentasfile=True, skipchecksum=False, formatspecs=__file_format_multi_dict__, saltkey=None, seektoend=False, returnfp=False):
8300-
checkcompressfile = CheckCompressionSubType(infile, formatspecs, filestart, True)
8301-
if(IsNestedDict(formatspecs) and checkcompressfile in formatspecs):
8302-
formatspecs = formatspecs[checkcompressfile]
8303-
fp = MkTempFile(instr)
8304-
listarrayfiles = NeoFileToArray(fp, "auto", filestart, seekstart, seekend, listonly, contentasfile, True, skipchecksum, formatspecs, saltkey, seektoend, returnfp)
8305-
return listarrayfiles
8306-
8307-
83088299
def TarFileToArray(infile, seekstart=0, seekend=0, listonly=False, contentasfile=True, skipchecksum=False, formatspecs=__file_format_dict__, seektoend=False, returnfp=False):
83098300
checkcompressfile = CheckCompressionSubType(infile, formatspecs, filestart, True)
83108301
if(IsNestedDict(formatspecs) and checkcompressfile in formatspecs):
@@ -8881,11 +8872,6 @@ def RePackMultipleNeoFile(infiles, outfile, fmttype="auto", compression="auto",
88818872
return True
88828873
return returnout
88838874

8884-
def RePackNeoFileFromString(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):
8885-
fp = MkTempFile(instr)
8886-
listarrayfiles = RePackNeoFile(fp, outfile, fmttype, compression, compresswholefile, compressionlevel, compressionuselist, followlink, filestart, seekstart, seekend, checksumtype, skipchecksum, extradata, jsondata, formatspecs, insaltkey, outsaltkey, seektoend, verbose, returnfp)
8887-
return listarrayfiles
8888-
88898875

88908876
def PackNeoFileFromListDir(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):
88918877
outarray = MkTempFile()
@@ -9149,12 +9135,6 @@ def UnPackNeoFile(infile, outdir=None, followlink=False, filestart=0, seekstart=
91499135
else:
91509136
return True
91519137

9152-
9153-
def UnPackNeoFileString(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):
9154-
fp = MkTempFile(instr)
9155-
listarrayfiles = UnPackNeoFile(fp, outdir, followlink, filestart, seekstart, seekend, skipchecksum, formatspecs, saltkey, seektoend, verbose, returnfp)
9156-
return listarrayfiles
9157-
91589138
def ftype_to_str(ftype):
91599139
mapping = {
91609140
0: "file", # file
@@ -9319,12 +9299,6 @@ def MultipleStackedNeoFileListFiles(infile, fmttype="auto", filestart=0, seeksta
93199299
return outretval
93209300

93219301

9322-
def NeoFileStringListFiles(instr, filestart=0, seekstart=0, seekend=0, skipchecksum=False, formatspecs=__file_format_multi_dict__, saltkey=None, seektoend=False, verbose=False, newstyle=False, returnfp=False):
9323-
fp = MkTempFile(instr)
9324-
listarrayfiles = NeoFileListFiles(instr, "auto", filestart, seekstart, seekend, skipchecksum, formatspecs, saltkey, seektoend, verbose, newstyle, returnfp)
9325-
return listarrayfiles
9326-
9327-
93289302
def TarFileListFiles(infile, formatspecs=__file_format_multi_dict__, verbose=False, returnfp=False):
93299303
if(isinstance(infile, (list, tuple, ))):
93309304
infile = infile[0]

0 commit comments

Comments
 (0)