fileIsCached static method
Verifies if file
is stored on cache
Implementation
@visibleForTesting
static bool fileIsCached(File file) {
if (file.existsSync() && file.lengthSync() > 0) {
return true;
}
return false;
}
Verifies if file
is stored on cache
@visibleForTesting
static bool fileIsCached(File file) {
if (file.existsSync() && file.lengthSync() > 0) {
return true;
}
return false;
}