isOrContains method

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

Return true if absolute path references this resource or a resource in this folder.

The path must be absolute and normalized.

Implementation

@override
bool isOrContains(String path) {
  return p.isWithin(file.path, path);
}