project-rag 0.1.0

RAG-based codebase indexing and semantic search - dual purpose library and MCP server
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! File information structure for indexed files

use std::path::PathBuf;

/// Information about a discovered file
#[derive(Debug, Clone)]
pub struct FileInfo {
    pub path: PathBuf,
    pub relative_path: String,
    pub root_path: String,
    pub project: Option<String>,
    pub extension: Option<String>,
    pub language: Option<String>,
    pub content: String,
    pub hash: String,
}