Tankōbon / main/db/db-location / readLocationPointer
Function: readLocationPointer()
readLocationPointer(
userDataDir):string|null
Defined in: main/db/db-location.ts:26
Reads the configured directory, or null when there is none. A missing, unreadable or malformed pointer falls back to the default rather than throwing: the app must still start when someone hand-edits (or a sync tool mangles) this file.
Parameters
userDataDir
string
Returns
string | null