guess_format_chains_bounded

Function guess_format_chains_bounded 

Source
pub fn guess_format_chains_bounded(
    filename: &str,
    platform: Option<FormatId>,
    max_layers: usize,
) -> Vec<ProbableFormatChain>
Expand description

Parses a filename or path into candidate format chains, bounding peeled extension layers to max_layers and total Cartesian combinations to MAX_FORMAT_CHAINS_LIMIT.