xAccess method
Check whether a file can be accessed.
Implementation
@override
int xAccess(String path, int flags) {
final type = _recognizeType(path);
if (type == null) {
return _memory.xAccess(path, flags);
} else {
final files = _requireFiles();
return files.exists(type) ? 1 : 0;
}
}