exists method

  1. @override
Future<bool> exists(
  1. String absPath
)
override

Whether absPath exists (file or directory).

Implementation

@override
Future<bool> exists(String absPath) async => _probe(
  await _run(
    'test -e ${_q(absPath)}',
    windows: windowsTestPathScript(absPath),
  ),
  absPath,
);