project_rag/indexer/file_info.rs
1//! File information structure for indexed files
2
3use std::path::PathBuf;
4
5/// Information about a discovered file
6#[derive(Debug, Clone)]
7pub struct FileInfo {
8 pub path: PathBuf,
9 pub relative_path: String,
10 pub root_path: String,
11 pub project: Option<String>,
12 pub extension: Option<String>,
13 pub language: Option<String>,
14 pub content: String,
15 pub hash: String,
16}