Skip to main content

count_model_files

Function count_model_files 

Source
pub fn count_model_files(folders: &[PathBuf]) -> u64
Expand description

Counts .gguf / .safetensors files under the folders (depth ≤ 3, ≤ SCAN_MAX_ENTRIES entries, at most SCAN_BUDGET of wall time; symlinks not followed; unreadable dirs skipped). Only the count is kept.