getTemplateFilePath method

String getTemplateFilePath(
  1. String name
)

Return the path to a template by name. e.g. C:\WSL2-Distros\templates\ubuntu.ext4

Implementation

String getTemplateFilePath(String name) {
  return getTemplatePath().file('$name.ext4');
}