exists property

bool get exists

Implementation

bool get exists =>
    Directory(p.join(cachePath, 'hosted')).existsSync() ||
    Directory(p.join(cachePath, 'git')).existsSync();