debian_analyzer::control

Function guess_template_type

Source
pub fn guess_template_type(
    template_path: &Path,
    debian_path: Option<&Path>,
) -> Option<TemplateType>
Expand description

Guess the type for a control template.

§Arguments

  • template_path - Path to the control template
  • debian_path - Path to the debian directory

§Returns

Template type; None if unknown