getChildAssumingFile method

  1. @override
File getChildAssumingFile(
  1. String relPath
)
override

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

Implementation

@override
File getChildAssumingFile(String relPath) {
  final path = p.join(directory.path, relPath);
  final child = fileSystem.file(path);

  return child.toAnalyzerFile();
}