ArchiveReader Class Reference
Last updated: 05-Mar-2025
Public Member Functions |
|
def | __init__ (self) |
Static Public Member Functions |
|
def | read_file (archive, path) |
Extract archive from file recursively to build in-memory node tree. More... |
|
def | read_fileobj (archive, fileobj, name) |
Extract archive from file object recursively to build in-memory node tree. More... |
|
def | read_pickled_file (path, gz=False) |
Extract pickled file. More... |
Data Fields |
|
last_node_added_stack |
Constructor & Destructor Documentation
◆ __init__()
def __init__ | ( | self | ) |
Member Function Documentation
◆ read_file()
|
static |
Extract archive from file recursively to build in-memory node tree.
- Parameters
-
archive archive root node path path to the archive file
◆ read_fileobj()
|
static |
Extract archive from file object recursively to build in-memory node tree.
- Parameters
-
archive archive root node fileobj path to the archive file name name of the root archive node
◆ read_pickled_file()
|
static |
Extract pickled file.
- Parameters
-
path path to the pickled file gz whether pickled file is gzipped :return pickled object
Field Documentation
◆ last_node_added_stack
last_node_added_stack |
The documentation for this class was generated from the following file:
- packman/packmanlib/io.py
Rate this article: