rtzip 0.5.3__tar.gz → 0.5.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {rtzip-0.5.3 → rtzip-0.5.4}/PKG-INFO +1 -1
- {rtzip-0.5.3 → rtzip-0.5.4}/pyproject.toml +1 -1
- {rtzip-0.5.3 → rtzip-0.5.4}/pyproject.toml.orig +1 -1
- {rtzip-0.5.3 → rtzip-0.5.4}/src/rtzip/remotezip.py +2 -2
- {rtzip-0.5.3 → rtzip-0.5.4}/src/rtzip/__init__.py +0 -0
- {rtzip-0.5.3 → rtzip-0.5.4}/src/rtzip/algorithm_register.py +0 -0
- {rtzip-0.5.3 → rtzip-0.5.4}/src/rtzip/codec_wrappers.py +0 -0
- {rtzip-0.5.3 → rtzip-0.5.4}/src/rtzip/const.py +0 -0
- {rtzip-0.5.3 → rtzip-0.5.4}/src/rtzip/errors.py +0 -0
- {rtzip-0.5.3 → rtzip-0.5.4}/src/rtzip/models.py +0 -0
- {rtzip-0.5.3 → rtzip-0.5.4}/src/rtzip/path_methods.py +0 -0
- {rtzip-0.5.3 → rtzip-0.5.4}/src/rtzip/wzaes_backends/__init__.py +0 -0
- {rtzip-0.5.3 → rtzip-0.5.4}/src/rtzip/wzaes_backends/cryptography_impl.py +0 -0
- {rtzip-0.5.3 → rtzip-0.5.4}/src/rtzip/wzaes_backends/pycryptodome_impl.py +0 -0
- {rtzip-0.5.3 → rtzip-0.5.4}/src/rtzip/zip_aes.py +0 -0
- {rtzip-0.5.3 → rtzip-0.5.4}/src/rtzip/zip_crypto.py +0 -0
|
@@ -474,12 +474,12 @@ class RemoteZip:
|
|
|
474
474
|
async def read_text(self, path: bytes, encoding='utf-8', errors='strict', **kwargs) -> str:
|
|
475
475
|
return (await self.read(path, **kwargs)).decode(encoding, errors=errors)
|
|
476
476
|
|
|
477
|
-
def rglob(self, pattern):
|
|
477
|
+
def rglob(self, pattern: bytes):
|
|
478
478
|
for file in self.namelist():
|
|
479
479
|
if fnmatch(file, pattern):
|
|
480
480
|
yield file
|
|
481
481
|
|
|
482
|
-
def rglob_entries(self, pattern):
|
|
482
|
+
def rglob_entries(self, pattern: bytes):
|
|
483
483
|
if self.files is None:
|
|
484
484
|
raise ValueError("No files. Please call `fetch_file_list` first.")
|
|
485
485
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|