espnet2.main_funcs.pack_funcs.Archiver
Less than 1 minute
espnet2.main_funcs.pack_funcs.Archiver
class espnet2.main_funcs.pack_funcs.Archiver(file, mode='r')
Bases: object
add(filename, arcname=None, recursive: bool = True)
addfile(info, fileobj)
close()
extract(info, path=None)
extractfile(info, mode='r')
generate_info(name, size) → TarInfo | ZipInfo
Generate TarInfo using system information
get_name_from_info(info)