containsPath method

bool containsPath(
  1. FileSystemEntity entity
)

Returns true when the provided path is in context of this package

Implementation

bool containsPath(FileSystemEntity entity) {
  return root.path == entity.path || root.containsSync(entity);
}