Skeudenn / main/db/db-location / checkDirectoryUsable
Function: checkDirectoryUsable() ​
checkDirectoryUsable(
directory):string|null
Defined in: src/main/db/db-location.ts:137
Fails early (with a user-facing message in the interface language) on a directory the app couldn't open a database in — otherwise the problem would only surface as a crash on the next start.
Parameters ​
directory ​
string
Returns ​
string | null