existsSync method

bool existsSync()

Determines whether file exists on disk.

Implementation

bool existsSync() =>
    isWindows ? WindowsPath(_string).existsSync() : UnixPath(_string).existsSync();