Skip to content

Commit ef8128a

Browse files
committed
rimport: Add a todo.
1 parent 7beb773 commit ef8128a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

rimport

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ def ensure_running_as(target_user: str, argv: list[str]) -> None:
153153
# Re-exec under target user; this invokes sudo’s normal password/2FA flow.
154154
os.execvp("sudo", ["sudo", "-u", target_user, "--"] + argv)
155155

156+
# TODO: Unused; delete.
156157
def safe_mvandlink(src: Path, dst: Path) -> None:
157158
dst.parent.mkdir(parents=True, exist_ok=True)
158159
# Move (handles cross-filesystem with copy2+remove under the hood)

0 commit comments

Comments
 (0)