MCPcopy Create free account
hub / github.com/GraphLite-AI/GraphLite / new_with_user

Method new_with_user

graphlite/src/session/models.rs:503–510  ·  view source on GitHub ↗

ROADMAP v0.2.0 - Session management for multi-user support (see ROADMAP.md §2)

(username: &str, storage: Arc<StorageManager>)

Source from the content-addressed store, hash-verified

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)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected