sniff-cli 0.1.0

An exhaustive LLM-backed slop finder for codebases
Documentation
#[path = "parser_impl.rs"]
mod parser_impl;

use crate::types::{FileRecord, LocalFileSymbols};

pub fn parse_file(file_path: &str) -> FileRecord {
    parser_impl::parse_file(file_path)
}

pub fn parse_file_checked(file_path: &str) -> Result<FileRecord, String> {
    parser_impl::parse_file_checked(file_path)
}

pub fn parse_file_symbols(file_path: &str) -> LocalFileSymbols {
    parser_impl::parse_file_symbols(file_path)
}

pub fn parse_file_symbols_checked(file_path: &str) -> Result<LocalFileSymbols, String> {
    parser_impl::parse_file_symbols_checked(file_path)
}