dissect.vmfs 3.7.dev1__tar.gz → 3.8__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.
- {dissect.vmfs-3.7.dev1/dissect.vmfs.egg-info → dissect_vmfs-3.8}/PKG-INFO +1 -1
- {dissect.vmfs-3.7.dev1 → dissect_vmfs-3.8}/dissect/vmfs/vmfs.py +2 -1
- {dissect.vmfs-3.7.dev1 → dissect_vmfs-3.8/dissect.vmfs.egg-info}/PKG-INFO +1 -1
- {dissect.vmfs-3.7.dev1 → dissect_vmfs-3.8}/pyproject.toml +0 -1
- {dissect.vmfs-3.7.dev1 → dissect_vmfs-3.8}/tox.ini +1 -1
- {dissect.vmfs-3.7.dev1 → dissect_vmfs-3.8}/COPYRIGHT +0 -0
- {dissect.vmfs-3.7.dev1 → dissect_vmfs-3.8}/LICENSE +0 -0
- {dissect.vmfs-3.7.dev1 → dissect_vmfs-3.8}/MANIFEST.in +0 -0
- {dissect.vmfs-3.7.dev1 → dissect_vmfs-3.8}/README.md +0 -0
- {dissect.vmfs-3.7.dev1 → dissect_vmfs-3.8}/dissect/vmfs/__init__.py +0 -0
- {dissect.vmfs-3.7.dev1 → dissect_vmfs-3.8}/dissect/vmfs/c_vmfs.py +0 -0
- {dissect.vmfs-3.7.dev1 → dissect_vmfs-3.8}/dissect/vmfs/exceptions.py +0 -0
- {dissect.vmfs-3.7.dev1 → dissect_vmfs-3.8}/dissect/vmfs/lvm.py +0 -0
- {dissect.vmfs-3.7.dev1 → dissect_vmfs-3.8}/dissect/vmfs/resource.py +0 -0
- {dissect.vmfs-3.7.dev1 → dissect_vmfs-3.8}/dissect.vmfs.egg-info/SOURCES.txt +0 -0
- {dissect.vmfs-3.7.dev1 → dissect_vmfs-3.8}/dissect.vmfs.egg-info/dependency_links.txt +0 -0
- {dissect.vmfs-3.7.dev1 → dissect_vmfs-3.8}/dissect.vmfs.egg-info/requires.txt +0 -0
- {dissect.vmfs-3.7.dev1 → dissect_vmfs-3.8}/dissect.vmfs.egg-info/top_level.txt +0 -0
- {dissect.vmfs-3.7.dev1 → dissect_vmfs-3.8}/setup.cfg +0 -0
- {dissect.vmfs-3.7.dev1 → dissect_vmfs-3.8}/tests/__init__.py +0 -0
- {dissect.vmfs-3.7.dev1 → dissect_vmfs-3.8}/tests/conftest.py +0 -0
- {dissect.vmfs-3.7.dev1 → dissect_vmfs-3.8}/tests/data/vmfs5.bin.gz +0 -0
- {dissect.vmfs-3.7.dev1 → dissect_vmfs-3.8}/tests/data/vmfs6.bin.gz +0 -0
- {dissect.vmfs-3.7.dev1 → dissect_vmfs-3.8}/tests/docs/Makefile +0 -0
- {dissect.vmfs-3.7.dev1 → dissect_vmfs-3.8}/tests/docs/conf.py +0 -0
- {dissect.vmfs-3.7.dev1 → dissect_vmfs-3.8}/tests/docs/index.rst +0 -0
- {dissect.vmfs-3.7.dev1 → dissect_vmfs-3.8}/tests/test_address.py +0 -0
- {dissect.vmfs-3.7.dev1 → dissect_vmfs-3.8}/tests/test_lvm.py +0 -0
- {dissect.vmfs-3.7.dev1 → dissect_vmfs-3.8}/tests/test_vmfs.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: dissect.vmfs
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.8
|
|
4
4
|
Summary: A Dissect module implementing a parser for the VMFS file system, used by VMware virtualization software
|
|
5
5
|
Author-email: Dissect Team <dissect@fox-it.com>
|
|
6
6
|
License: Affero General Public License v3
|
|
@@ -155,6 +155,8 @@ class VMFS:
|
|
|
155
155
|
self.fh.seek(fdc_base * self.block_size)
|
|
156
156
|
self.resources.open(ResourceType.FD, fileobj=BytesIO(self.fh.read(self.block_size)))
|
|
157
157
|
|
|
158
|
+
self.file_descriptor = lru_cache(4096)(self.file_descriptor)
|
|
159
|
+
|
|
158
160
|
# Open the root directory
|
|
159
161
|
self.root = self.file_descriptor(c_vmfs.ROOT_DIR_DESC_ADDR, "/")
|
|
160
162
|
|
|
@@ -250,7 +252,6 @@ class VMFS:
|
|
|
250
252
|
|
|
251
253
|
return node
|
|
252
254
|
|
|
253
|
-
@lru_cache(maxsize=4096)
|
|
254
255
|
def file_descriptor(self, address, name=None, filetype=None):
|
|
255
256
|
if address_type(address) != ResourceType.FD:
|
|
256
257
|
raise TypeError(f"Invalid block type: {address_fmt(self, address)}")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: dissect.vmfs
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.8
|
|
4
4
|
Summary: A Dissect module implementing a parser for the VMFS file system, used by VMware virtualization software
|
|
5
5
|
Author-email: Dissect Team <dissect@fox-it.com>
|
|
6
6
|
License: Affero General Public License v3
|
|
@@ -4,7 +4,7 @@ envlist = lint, py3, pypy3
|
|
|
4
4
|
# requires if they are not available on the host system. This requires the
|
|
5
5
|
# locally installed tox to have a minimum version 3.3.0. This means the names
|
|
6
6
|
# of the configuration options are still according to the tox 3.x syntax.
|
|
7
|
-
minversion = 4.
|
|
7
|
+
minversion = 4.4.3
|
|
8
8
|
# This version of virtualenv will install setuptools version 65.5.0 and pip
|
|
9
9
|
# 22.3. These versions fully support python projects defined only through a
|
|
10
10
|
# pyproject.toml file (PEP-517/PEP-518/PEP-621)
|
|
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
|
|
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
|