dissect.extfs 3.11.dev2__tar.gz → 3.12.dev1__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.
Files changed (33) hide show
  1. {dissect_extfs-3.11.dev2 → dissect_extfs-3.12.dev1}/PKG-INFO +2 -2
  2. dissect_extfs-3.12.dev1/dissect/extfs/exceptions.py +18 -0
  3. {dissect_extfs-3.11.dev2 → dissect_extfs-3.12.dev1}/dissect.extfs.egg-info/PKG-INFO +2 -2
  4. {dissect_extfs-3.11.dev2 → dissect_extfs-3.12.dev1}/dissect.extfs.egg-info/SOURCES.txt +1 -0
  5. {dissect_extfs-3.11.dev2 → dissect_extfs-3.12.dev1}/dissect.extfs.egg-info/requires.txt +1 -1
  6. {dissect_extfs-3.11.dev2 → dissect_extfs-3.12.dev1}/pyproject.toml +1 -1
  7. dissect_extfs-3.12.dev1/tests/test_exceptions.py +19 -0
  8. dissect_extfs-3.11.dev2/dissect/extfs/exceptions.py +0 -14
  9. {dissect_extfs-3.11.dev2 → dissect_extfs-3.12.dev1}/.gitattributes +0 -0
  10. {dissect_extfs-3.11.dev2 → dissect_extfs-3.12.dev1}/COPYRIGHT +0 -0
  11. {dissect_extfs-3.11.dev2 → dissect_extfs-3.12.dev1}/LICENSE +0 -0
  12. {dissect_extfs-3.11.dev2 → dissect_extfs-3.12.dev1}/MANIFEST.in +0 -0
  13. {dissect_extfs-3.11.dev2 → dissect_extfs-3.12.dev1}/README.md +0 -0
  14. {dissect_extfs-3.11.dev2 → dissect_extfs-3.12.dev1}/dissect/extfs/__init__.py +0 -0
  15. {dissect_extfs-3.11.dev2 → dissect_extfs-3.12.dev1}/dissect/extfs/c_ext.py +0 -0
  16. {dissect_extfs-3.11.dev2 → dissect_extfs-3.12.dev1}/dissect/extfs/c_jdb2.py +0 -0
  17. {dissect_extfs-3.11.dev2 → dissect_extfs-3.12.dev1}/dissect/extfs/extfs.py +0 -0
  18. {dissect_extfs-3.11.dev2 → dissect_extfs-3.12.dev1}/dissect/extfs/journal.py +0 -0
  19. {dissect_extfs-3.11.dev2 → dissect_extfs-3.12.dev1}/dissect.extfs.egg-info/dependency_links.txt +0 -0
  20. {dissect_extfs-3.11.dev2 → dissect_extfs-3.12.dev1}/dissect.extfs.egg-info/top_level.txt +0 -0
  21. {dissect_extfs-3.11.dev2 → dissect_extfs-3.12.dev1}/setup.cfg +0 -0
  22. {dissect_extfs-3.11.dev2 → dissect_extfs-3.12.dev1}/tests/__init__.py +0 -0
  23. {dissect_extfs-3.11.dev2 → dissect_extfs-3.12.dev1}/tests/conftest.py +0 -0
  24. {dissect_extfs-3.11.dev2 → dissect_extfs-3.12.dev1}/tests/data/ext4.bin.gz +0 -0
  25. {dissect_extfs-3.11.dev2 → dissect_extfs-3.12.dev1}/tests/data/ext4_sparse.bin.gz +0 -0
  26. {dissect_extfs-3.11.dev2 → dissect_extfs-3.12.dev1}/tests/data/ext4_symlink_test1.bin.gz +0 -0
  27. {dissect_extfs-3.11.dev2 → dissect_extfs-3.12.dev1}/tests/data/ext4_symlink_test2.bin.gz +0 -0
  28. {dissect_extfs-3.11.dev2 → dissect_extfs-3.12.dev1}/tests/data/ext4_symlink_test3.bin.gz +0 -0
  29. {dissect_extfs-3.11.dev2 → dissect_extfs-3.12.dev1}/tests/docs/Makefile +0 -0
  30. {dissect_extfs-3.11.dev2 → dissect_extfs-3.12.dev1}/tests/docs/conf.py +0 -0
  31. {dissect_extfs-3.11.dev2 → dissect_extfs-3.12.dev1}/tests/docs/index.rst +0 -0
  32. {dissect_extfs-3.11.dev2 → dissect_extfs-3.12.dev1}/tests/test_ext4.py +0 -0
  33. {dissect_extfs-3.11.dev2 → dissect_extfs-3.12.dev1}/tox.ini +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dissect.extfs
3
- Version: 3.11.dev2
3
+ Version: 3.12.dev1
4
4
  Summary: A Dissect module implementing a parser for the ExtFS file system, the native filesystem for Linux operating systems
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.dev
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"
@@ -0,0 +1,18 @@
1
+ class Error(Exception):
2
+ pass
3
+
4
+
5
+ class FileNotFoundError(Error, FileNotFoundError):
6
+ pass
7
+
8
+
9
+ class IsADirectoryError(Error, IsADirectoryError):
10
+ pass
11
+
12
+
13
+ class NotADirectoryError(Error, NotADirectoryError):
14
+ pass
15
+
16
+
17
+ class NotASymlinkError(Error):
18
+ pass
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dissect.extfs
3
- Version: 3.11.dev2
3
+ Version: 3.12.dev1
4
4
  Summary: A Dissect module implementing a parser for the ExtFS file system, the native filesystem for Linux operating systems
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.dev
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"
@@ -18,6 +18,7 @@ dissect/extfs/extfs.py
18
18
  dissect/extfs/journal.py
19
19
  tests/__init__.py
20
20
  tests/conftest.py
21
+ tests/test_exceptions.py
21
22
  tests/test_ext4.py
22
23
  tests/data/ext4.bin.gz
23
24
  tests/data/ext4_sparse.bin.gz
@@ -1,4 +1,4 @@
1
- dissect.cstruct<5,>=4.dev
1
+ dissect.cstruct<5,>=4
2
2
  dissect.util<4,>=3
3
3
 
4
4
  [dev]
@@ -25,7 +25,7 @@ classifiers = [
25
25
  "Topic :: Utilities",
26
26
  ]
27
27
  dependencies = [
28
- "dissect.cstruct>=4.dev,<5",
28
+ "dissect.cstruct>=4,<5",
29
29
  "dissect.util>=3,<4",
30
30
  ]
31
31
  dynamic = ["version"]
@@ -0,0 +1,19 @@
1
+ import pytest
2
+
3
+ from dissect.extfs 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()
@@ -1,14 +0,0 @@
1
- class Error(Exception):
2
- pass
3
-
4
-
5
- class FileNotFoundError(Error):
6
- pass
7
-
8
-
9
- class NotADirectoryError(Error):
10
- pass
11
-
12
-
13
- class NotASymlinkError(Error):
14
- pass