Skip to content
Snippets Groups Projects
Unverified Commit 80cd6d15 authored by Caleb Connolly's avatar Caleb Connolly :recycle:
Browse files

types: add Arch to PathString


We broadly support "Arch" objects in command invocations, adjust the
PathString type to properly represent this.

Signed-off-by: default avatarCaleb Connolly <caleb@postmarketos.org>
parent 50321d41
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,7 @@ from typing import Literal, TypedDict
from pmb.core.arch import Arch
CrossCompileType = Literal["native"] | Literal["crossdirect"] | None
PathString = Path | str
PathString = Path | str | Arch
Env = dict[str, PathString]
# These types are not definitive / API, they exist to describe the current
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment