exists method

  1. @override
bool exists(
  1. String path
)
override

Whether a file at path exists.

Implementation

@override
bool exists(String path) {
  final type = _recognizeType(path);
  if (type == null) {
    return _memory.exists(path);
  } else {
    _metaHandle.read(_existsList, FileSystemReadWriteOptions(at: 0));
    return _existsList[type.index] != 0;
  }
}