Restructure bin/ so the project reads at the comprehension floor
This commit is contained in:
@@ -25,10 +25,6 @@ def worktrees(root: str, effects: Effects) -> list[str]:
|
||||
return sorted(set(found))
|
||||
|
||||
|
||||
def project_key(root: str, code: pathlib.Path) -> str:
|
||||
return root.removeprefix(f"{code}/").lstrip("/")
|
||||
|
||||
|
||||
def read_utf8(folder: str, name: str, consequence: str) -> str | Stop:
|
||||
try:
|
||||
return pathlib.Path(folder, name).read_text(encoding="utf-8")
|
||||
|
||||
Reference in New Issue
Block a user