modelshelf 0.1.0

A shared local LLM model registry: discover, deduplicate, download, and update models across desktop apps.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! User-configured extra directories: a plain recursive `*.gguf` walk.

use std::path::Path;

use super::FoundFile;
use crate::registry::Ecosystem;

pub(crate) fn scan_custom_root(root: &Path) -> Vec<FoundFile> {
    if !root.is_dir() {
        return Vec::new();
    }
    super::walk_gguf(root, Ecosystem::Custom)
}