framework 0.2.4

Framework is a detector for different frameworks in one projects
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use crate::framework_detector::FrameworkContainer;
use walkdir::DirEntry;

pub fn tagging<'a>(entry: &DirEntry) -> Option<&'a str> {
    let file_name = entry.file_name().to_str().unwrap();
    match file_name {
        "Cargo.toml" => Some("workspace.cargo"),
        _ => None,
    }
}

pub fn framework_analysis(_entry: &DirEntry, _frameworks: &FrameworkContainer) {}