canRead method

bool canRead(
  1. String path
)

Implementation

bool canRead(String path) {
  if (paths == null) return true;
  for (final t in paths!) {
    if (_matches(t.path, path)) return true;
  }
  return false;
}