| 38 | } |
| 39 | |
| 40 | pub struct AppStateInner { |
| 41 | pub projects: DashMap<PathBuf, Arc<Project>>, |
| 42 | pub sessions: DashMap<String, Session>, |
| 43 | pub max_projects: usize, |
| 44 | pub max_file_size: u64, |
| 45 | } |
| 46 | |
| 47 | impl AppState { |
| 48 | pub fn new(max_projects: usize, max_file_size: u64) -> Self { |
nothing calls this directly
no outgoing calls
no test coverage detected