dissect.vmfs 3.9.dev2__tar.gz → 3.10__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.9.dev2/dissect.vmfs.egg-info → dissect_vmfs-3.10}/PKG-INFO +2 -2
- {dissect_vmfs-3.9.dev2 → dissect_vmfs-3.10}/dissect/vmfs/exceptions.py +6 -2
- {dissect_vmfs-3.9.dev2 → dissect_vmfs-3.10/dissect.vmfs.egg-info}/PKG-INFO +2 -2
- {dissect_vmfs-3.9.dev2 → dissect_vmfs-3.10}/dissect.vmfs.egg-info/SOURCES.txt +1 -0
- {dissect_vmfs-3.9.dev2 → dissect_vmfs-3.10}/dissect.vmfs.egg-info/requires.txt +1 -1
- {dissect_vmfs-3.9.dev2 → dissect_vmfs-3.10}/pyproject.toml +1 -2
- dissect_vmfs-3.10/tests/test_exceptions.py +19 -0
- {dissect_vmfs-3.9.dev2 → dissect_vmfs-3.10}/COPYRIGHT +0 -0
- {dissect_vmfs-3.9.dev2 → dissect_vmfs-3.10}/LICENSE +0 -0
- {dissect_vmfs-3.9.dev2 → dissect_vmfs-3.10}/MANIFEST.in +0 -0
- {dissect_vmfs-3.9.dev2 → dissect_vmfs-3.10}/README.md +0 -0
- {dissect_vmfs-3.9.dev2 → dissect_vmfs-3.10}/dissect/vmfs/__init__.py +0 -0
- {dissect_vmfs-3.9.dev2 → dissect_vmfs-3.10}/dissect/vmfs/c_vmfs.py +0 -0
- {dissect_vmfs-3.9.dev2 → dissect_vmfs-3.10}/dissect/vmfs/lvm.py +0 -0
- {dissect_vmfs-3.9.dev2 → dissect_vmfs-3.10}/dissect/vmfs/resource.py +0 -0
- {dissect_vmfs-3.9.dev2 → dissect_vmfs-3.10}/dissect/vmfs/vmfs.py +0 -0
- {dissect_vmfs-3.9.dev2 → dissect_vmfs-3.10}/dissect.vmfs.egg-info/dependency_links.txt +0 -0
- {dissect_vmfs-3.9.dev2 → dissect_vmfs-3.10}/dissect.vmfs.egg-info/top_level.txt +0 -0
- {dissect_vmfs-3.9.dev2 → dissect_vmfs-3.10}/setup.cfg +0 -0
- {dissect_vmfs-3.9.dev2 → dissect_vmfs-3.10}/tests/__init__.py +0 -0
- {dissect_vmfs-3.9.dev2 → dissect_vmfs-3.10}/tests/conftest.py +0 -0
- {dissect_vmfs-3.9.dev2 → dissect_vmfs-3.10}/tests/data/vmfs5.bin.gz +0 -0
- {dissect_vmfs-3.9.dev2 → dissect_vmfs-3.10}/tests/data/vmfs6.bin.gz +0 -0
- {dissect_vmfs-3.9.dev2 → dissect_vmfs-3.10}/tests/docs/Makefile +0 -0
- {dissect_vmfs-3.9.dev2 → dissect_vmfs-3.10}/tests/docs/conf.py +0 -0
- {dissect_vmfs-3.9.dev2 → dissect_vmfs-3.10}/tests/docs/index.rst +0 -0
- {dissect_vmfs-3.9.dev2 → dissect_vmfs-3.10}/tests/test_address.py +0 -0
- {dissect_vmfs-3.9.dev2 → dissect_vmfs-3.10}/tests/test_lvm.py +0 -0
- {dissect_vmfs-3.9.dev2 → dissect_vmfs-3.10}/tests/test_vmfs.py +0 -0
- {dissect_vmfs-3.9.dev2 → dissect_vmfs-3.10}/tox.ini +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: dissect.vmfs
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.10
|
|
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
|
|
@@ -22,7 +22,7 @@ Requires-Python: ~=3.9
|
|
|
22
22
|
Description-Content-Type: text/markdown
|
|
23
23
|
License-File: LICENSE
|
|
24
24
|
License-File: COPYRIGHT
|
|
25
|
-
Requires-Dist: dissect.cstruct<5,>=4
|
|
25
|
+
Requires-Dist: dissect.cstruct<5,>=4
|
|
26
26
|
Requires-Dist: dissect.util<4,>=3
|
|
27
27
|
Provides-Extra: dev
|
|
28
28
|
Requires-Dist: dissect.cstruct<5.0.dev,>=4.0.dev; extra == "dev"
|
|
@@ -10,11 +10,15 @@ class InvalidHeader(Error):
|
|
|
10
10
|
pass
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
class FileNotFoundError(Error):
|
|
13
|
+
class FileNotFoundError(Error, FileNotFoundError):
|
|
14
14
|
pass
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
class
|
|
17
|
+
class IsADirectoryError(Error, IsADirectoryError):
|
|
18
|
+
pass
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
class NotADirectoryError(Error, NotADirectoryError):
|
|
18
22
|
pass
|
|
19
23
|
|
|
20
24
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: dissect.vmfs
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.10
|
|
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
|
|
@@ -22,7 +22,7 @@ Requires-Python: ~=3.9
|
|
|
22
22
|
Description-Content-Type: text/markdown
|
|
23
23
|
License-File: LICENSE
|
|
24
24
|
License-File: COPYRIGHT
|
|
25
|
-
Requires-Dist: dissect.cstruct<5,>=4
|
|
25
|
+
Requires-Dist: dissect.cstruct<5,>=4
|
|
26
26
|
Requires-Dist: dissect.util<4,>=3
|
|
27
27
|
Provides-Extra: dev
|
|
28
28
|
Requires-Dist: dissect.cstruct<5.0.dev,>=4.0.dev; extra == "dev"
|
|
@@ -25,7 +25,7 @@ classifiers = [
|
|
|
25
25
|
"Topic :: Utilities",
|
|
26
26
|
]
|
|
27
27
|
dependencies = [
|
|
28
|
-
"dissect.cstruct>=4
|
|
28
|
+
"dissect.cstruct>=4,<5",
|
|
29
29
|
"dissect.util>=3,<4",
|
|
30
30
|
]
|
|
31
31
|
dynamic = ["version"]
|
|
@@ -56,4 +56,3 @@ license-files = ["LICENSE", "COPYRIGHT"]
|
|
|
56
56
|
include = ["dissect.*"]
|
|
57
57
|
|
|
58
58
|
[tool.setuptools_scm]
|
|
59
|
-
local_scheme = "no-local-version"
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import pytest
|
|
2
|
+
|
|
3
|
+
from dissect.vmfs import exceptions
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
@pytest.mark.parametrize(
|
|
7
|
+
"exc, std",
|
|
8
|
+
[
|
|
9
|
+
(exceptions.FileNotFoundError, FileNotFoundError),
|
|
10
|
+
(exceptions.IsADirectoryError, IsADirectoryError),
|
|
11
|
+
(exceptions.NotADirectoryError, NotADirectoryError),
|
|
12
|
+
],
|
|
13
|
+
)
|
|
14
|
+
def test_filesystem_error_subclass(exc: exceptions.Error, std: Exception) -> None:
|
|
15
|
+
assert issubclass(exc, std)
|
|
16
|
+
assert isinstance(exc(), std)
|
|
17
|
+
|
|
18
|
+
with pytest.raises(std):
|
|
19
|
+
raise exc()
|
|
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
|