(dir: string)
| 1332 | // Validate a candidate repos dir without mutating the filesystem. Rejects |
| 1333 | // with a human-readable reason; resolves for a valid or empty path. |
| 1334 | export async function validateReposDir(dir: string): Promise<void> { |
| 1335 | await invokeTauri("validate_repos_dir", { dir }); |
| 1336 | } |
| 1337 | |
| 1338 | export const setPreventSleepActive = (active: boolean) => |
| 1339 | invokeTauri("set_prevent_sleep_active", { active }); |
no test coverage detected