getChildAssumingFolder method

  1. @override
Folder getChildAssumingFolder(
  1. String relPath
)
override

Return a Folder representing a child Resource with the given relPath. This call does not check whether a folder with the given name exists on the filesystem--client must call the Folder's exists getter to determine whether the folder actually exists.

Implementation

@override
Folder getChildAssumingFolder(String relPath) {
  final path = p.join(directory.path, relPath);
  final child = fileSystem.directory(path);

  return child.toAnalyzerFolder(fileSystem);
}