ROADMAP v0.2.0 - Session management for multi-user support (see ROADMAP.md §2)
(username: &str, storage: Arc<StorageManager>)
| 501 | /// Create a new session with user and storage |
| 502 | #[allow(dead_code)] // ROADMAP v0.2.0 - Session management for multi-user support (see ROADMAP.md §2) |
| 503 | pub fn new_with_user(username: &str, storage: Arc<StorageManager>) -> Self { |
| 504 | Self { |
| 505 | username: username.to_string(), |
| 506 | storage, |
| 507 | current_graph: None, |
| 508 | graphs: HashMap::new(), |
| 509 | } |
| 510 | } |
| 511 | |
| 512 | /// Set the current graph for this session |
| 513 | #[allow(dead_code)] // ROADMAP v0.2.0 - Session management for multi-user support (see ROADMAP.md §2) |
nothing calls this directly
no outgoing calls
no test coverage detected