newAnalysisOptionsYamlFile method

File newAnalysisOptionsYamlFile(
  1. String directoryPath,
  2. String content
)

Writes a new analysis_options.yaml file at directoryPath with content.

Implementation

File newAnalysisOptionsYamlFile(String directoryPath, String content) {
  String path = join(directoryPath, file_paths.analysisOptionsYaml);
  return newFile(path, content);
}