Source: factory.core/ObjDocumentArchive.py
Delegate for generating archive file listing icons.
Reads the contents of ZIP, TAR, or GZ archives and renders
the file listing as a syntax-highlighted text image using
pygments. Supports ZIP, TAR, and GZ (tar.gz) formats.
| Method | Signature | Description |
|---|---|---|
| list_contents | list_contents(file_path: str, max_entries: int = 30) -> str |
Read archive contents and return as a formatted listing string. |