Skip to main content

execute

Function execute 

Source
pub fn execute<OnMatch, OnMismatch>(
    enter_path: &str,
    patterns: &[String],
    is_case_sensitive: bool,
    sort_strategy: SortStrategy,
    show_mode: ShowMode,
    view_mode: ViewMode,
    weight_cfg: WeightConfig,
    no_root: bool,
    print_info: bool,
    no_emoji: bool,
    i18n: &I18n,
    on_match: OnMatch,
    on_mismatch: OnMismatch,
) -> MatchStats
where OnMatch: FnMut(&FileStats), OnMismatch: FnMut(&FileStats),
Expand description

[ENG]: Primary execution function that coordinates scanning, matching, and view building. [POL]: Główna funkcja wykonawcza koordynująca skanowanie, dopasowywanie i budowanie widoków.