repopilot 0.11.0

Local-first CLI for repository audit, architecture risk detection, baseline tracking, and CI-friendly code review.
Documentation
1
2
3
4
5
6
7
8
9
use crate::knowledge::bundled_knowledge;
use crate::knowledge::model::RuntimeProfile;

pub fn profile_by_id(id: &str) -> Option<&'static RuntimeProfile> {
    bundled_knowledge()
        .runtimes
        .iter()
        .find(|runtime| runtime.id == id)
}