Tankōbon / main/services/cloud-files / isOnlineOnly
Function: isOnlineOnly()
isOnlineOnly(
filePath,platform?,run?):Promise<boolean>
Defined in: main/services/cloud-files.ts:36
True when reading filePath would download it from a cloud drive. Only detected on Windows (attrib exposes the recall attributes, which Node's stat doesn't); false elsewhere, and whenever the check itself fails, so a file is never wrongly held back.
Parameters
filePath
string
platform?
Platform = process.platform
run?
AttribRunner = runAttrib
Returns
Promise<boolean>