dissect.qnxfs 0.1.dev3__tar.gz → 1.1.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 (32) hide show
  1. {dissect_qnxfs-0.1.dev3/dissect.qnxfs.egg-info → dissect_qnxfs-1.1.dev1}/PKG-INFO +1 -1
  2. {dissect_qnxfs-0.1.dev3 → dissect_qnxfs-1.1.dev1}/dissect/qnxfs/qnx4.py +6 -6
  3. {dissect_qnxfs-0.1.dev3 → dissect_qnxfs-1.1.dev1}/dissect/qnxfs/qnx6.py +6 -6
  4. {dissect_qnxfs-0.1.dev3 → dissect_qnxfs-1.1.dev1/dissect.qnxfs.egg-info}/PKG-INFO +1 -1
  5. {dissect_qnxfs-0.1.dev3 → dissect_qnxfs-1.1.dev1}/tests/_docs/Makefile +1 -1
  6. {dissect_qnxfs-0.1.dev3 → dissect_qnxfs-1.1.dev1}/tests/_docs/conf.py +5 -0
  7. {dissect_qnxfs-0.1.dev3 → dissect_qnxfs-1.1.dev1}/COPYRIGHT +0 -0
  8. {dissect_qnxfs-0.1.dev3 → dissect_qnxfs-1.1.dev1}/LICENSE +0 -0
  9. {dissect_qnxfs-0.1.dev3 → dissect_qnxfs-1.1.dev1}/MANIFEST.in +0 -0
  10. {dissect_qnxfs-0.1.dev3 → dissect_qnxfs-1.1.dev1}/README.md +0 -0
  11. {dissect_qnxfs-0.1.dev3 → dissect_qnxfs-1.1.dev1}/dissect/qnxfs/__init__.py +0 -0
  12. {dissect_qnxfs-0.1.dev3 → dissect_qnxfs-1.1.dev1}/dissect/qnxfs/c_qnx4.py +0 -0
  13. {dissect_qnxfs-0.1.dev3 → dissect_qnxfs-1.1.dev1}/dissect/qnxfs/c_qnx4.pyi +0 -0
  14. {dissect_qnxfs-0.1.dev3 → dissect_qnxfs-1.1.dev1}/dissect/qnxfs/c_qnx6.py +0 -0
  15. {dissect_qnxfs-0.1.dev3 → dissect_qnxfs-1.1.dev1}/dissect/qnxfs/c_qnx6.pyi +0 -0
  16. {dissect_qnxfs-0.1.dev3 → dissect_qnxfs-1.1.dev1}/dissect/qnxfs/exceptions.py +0 -0
  17. {dissect_qnxfs-0.1.dev3 → dissect_qnxfs-1.1.dev1}/dissect/qnxfs/qnxfs.py +0 -0
  18. {dissect_qnxfs-0.1.dev3 → dissect_qnxfs-1.1.dev1}/dissect.qnxfs.egg-info/SOURCES.txt +0 -0
  19. {dissect_qnxfs-0.1.dev3 → dissect_qnxfs-1.1.dev1}/dissect.qnxfs.egg-info/dependency_links.txt +0 -0
  20. {dissect_qnxfs-0.1.dev3 → dissect_qnxfs-1.1.dev1}/dissect.qnxfs.egg-info/requires.txt +0 -0
  21. {dissect_qnxfs-0.1.dev3 → dissect_qnxfs-1.1.dev1}/dissect.qnxfs.egg-info/top_level.txt +0 -0
  22. {dissect_qnxfs-0.1.dev3 → dissect_qnxfs-1.1.dev1}/pyproject.toml +0 -0
  23. {dissect_qnxfs-0.1.dev3 → dissect_qnxfs-1.1.dev1}/setup.cfg +0 -0
  24. {dissect_qnxfs-0.1.dev3 → dissect_qnxfs-1.1.dev1}/tests/__init__.py +0 -0
  25. {dissect_qnxfs-0.1.dev3 → dissect_qnxfs-1.1.dev1}/tests/_data/qnx4.bin.gz +0 -0
  26. {dissect_qnxfs-0.1.dev3 → dissect_qnxfs-1.1.dev1}/tests/_data/qnx6-be.bin.gz +0 -0
  27. {dissect_qnxfs-0.1.dev3 → dissect_qnxfs-1.1.dev1}/tests/_data/qnx6-le.bin.gz +0 -0
  28. {dissect_qnxfs-0.1.dev3 → dissect_qnxfs-1.1.dev1}/tests/_docs/index.rst +0 -0
  29. {dissect_qnxfs-0.1.dev3 → dissect_qnxfs-1.1.dev1}/tests/conftest.py +0 -0
  30. {dissect_qnxfs-0.1.dev3 → dissect_qnxfs-1.1.dev1}/tests/test_exceptions.py +0 -0
  31. {dissect_qnxfs-0.1.dev3 → dissect_qnxfs-1.1.dev1}/tests/test_qnx.py +0 -0
  32. {dissect_qnxfs-0.1.dev3 → dissect_qnxfs-1.1.dev1}/tox.ini +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dissect.qnxfs
3
- Version: 0.1.dev3
3
+ Version: 1.1.dev1
4
4
  Summary: A Dissect module implementing a parser for the QNX4 and QNX6 file systems, commonly used in the QNX RTOS.
5
5
  Author-email: Dissect Team <dissect@fox-it.com>
6
6
  License: Affero General Public License v3
@@ -42,15 +42,15 @@ class QNX4:
42
42
 
43
43
  self.root = self.inode(c_qnx4.QNX4_ROOT_INO * c_qnx4.QNX4_INODES_PER_BLOCK)
44
44
 
45
- def inode(self, inum: int) -> INode:
45
+ def inode(self, inum: int) -> INode4:
46
46
  """Return an inode object for the given inode number.
47
47
 
48
48
  Args:
49
49
  inum: The inode number.
50
50
  """
51
- return INode(self, inum)
51
+ return INode4(self, inum)
52
52
 
53
- def get(self, path: str | int, node: INode | None = None) -> INode:
53
+ def get(self, path: str | int, node: INode4 | None = None) -> INode4:
54
54
  """Return an inode object for the given path or inode number.
55
55
 
56
56
  Args:
@@ -83,7 +83,7 @@ class QNX4:
83
83
  return node
84
84
 
85
85
 
86
- class INode:
86
+ class INode4:
87
87
  def __init__(self, fs: QNX4, inum: int):
88
88
  self.fs = fs
89
89
  self.inum = inum
@@ -205,11 +205,11 @@ class INode:
205
205
  """Return whether this inode is an IPC file."""
206
206
  return self.is_fifo() or self.is_socket()
207
207
 
208
- def listdir(self) -> dict[str, INode]:
208
+ def listdir(self) -> dict[str, INode4]:
209
209
  """Return a directory listing."""
210
210
  return dict(self.iterdir())
211
211
 
212
- def iterdir(self) -> Iterator[tuple[str, INode]]:
212
+ def iterdir(self) -> Iterator[tuple[str, INode4]]:
213
213
  """Iterate directory contents."""
214
214
  if not self.is_dir():
215
215
  raise NotADirectoryError(f"{self!r} is not a directory")
@@ -74,15 +74,15 @@ class QNX6:
74
74
 
75
75
  self.root = self.inode(c_qnx6.QNX6_ROOT_INO)
76
76
 
77
- def inode(self, inum: int) -> INode:
77
+ def inode(self, inum: int) -> INode6:
78
78
  """Return an inode object for the given inode number.
79
79
 
80
80
  Args:
81
81
  inum: The inode number.
82
82
  """
83
- return INode(self, inum)
83
+ return INode6(self, inum)
84
84
 
85
- def get(self, path: str | int, node: INode | None = None) -> INode:
85
+ def get(self, path: str | int, node: INode6 | None = None) -> INode6:
86
86
  """Return an inode object for the given path or inode number.
87
87
 
88
88
  Args:
@@ -115,7 +115,7 @@ class QNX6:
115
115
  return node
116
116
 
117
117
 
118
- class INode:
118
+ class INode6:
119
119
  def __init__(self, fs: QNX6, inum: int):
120
120
  self.fs = fs
121
121
  self.inum = inum
@@ -222,11 +222,11 @@ class INode:
222
222
  """Return whether this inode is an IPC file."""
223
223
  return self.is_fifo() or self.is_socket()
224
224
 
225
- def listdir(self) -> dict[str, INode]:
225
+ def listdir(self) -> dict[str, INode6]:
226
226
  """Return a directory listing."""
227
227
  return dict(self.iterdir())
228
228
 
229
- def iterdir(self) -> Iterator[tuple[str, INode]]:
229
+ def iterdir(self) -> Iterator[tuple[str, INode6]]:
230
230
  """Iterate directory contents."""
231
231
  if not self.is_dir():
232
232
  raise NotADirectoryError(f"{self!r} is not a directory")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dissect.qnxfs
3
- Version: 0.1.dev3
3
+ Version: 1.1.dev1
4
4
  Summary: A Dissect module implementing a parser for the QNX4 and QNX6 file systems, commonly used in the QNX RTOS.
5
5
  Author-email: Dissect Team <dissect@fox-it.com>
6
6
  License: Affero General Public License v3
@@ -3,7 +3,7 @@
3
3
 
4
4
  # You can set these variables from the command line, and also
5
5
  # from the environment for the first two.
6
- SPHINXOPTS ?= -jauto
6
+ SPHINXOPTS ?= -jauto -w $(BUILDDIR)/warnings.log --fail-on-warning
7
7
  SPHINXBUILD ?= sphinx-build
8
8
  SOURCEDIR = .
9
9
  BUILDDIR = build
@@ -32,3 +32,8 @@ autodoc_typehints = "signature"
32
32
  autodoc_member_order = "groupwise"
33
33
 
34
34
  autosectionlabel_prefix_document = True
35
+
36
+ suppress_warnings = [
37
+ # https://github.com/readthedocs/sphinx-autoapi/issues/285
38
+ "autoapi.python_import_resolution",
39
+ ]