isReadable function

bool isReadable(
  1. String path
)

checks if the passed path (a file or directory) is readable by the user that owns this process @Throwing(posix.StatException) @Throwing(UnsupportedError)

Implementation

bool isReadable(String path) {
  core.verbose(() => 'isReadable: ${truepath(path)}');
  return _checkPermission(path, _readBitMask);
}