bool canWrite(String path, {bool subtree = false}) => _allows(FileAction.write, path, subtree: subtree);