summaryrefslogtreecommitdiffstats
path: root/src/debputy/types.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/debputy/types.py')
-rw-r--r--src/debputy/types.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/debputy/types.py b/src/debputy/types.py
new file mode 100644
index 0000000..05e68c9
--- /dev/null
+++ b/src/debputy/types.py
@@ -0,0 +1,9 @@
+from typing import TypeVar, TYPE_CHECKING
+
+if TYPE_CHECKING:
+ from debputy.plugin.api import VirtualPath
+ from debputy.filesystem_scan import FSPath
+
+
+VP = TypeVar("VP", "VirtualPath", "FSPath")
+S = TypeVar("S", str, bytes)