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

Method create_anonymous_session

graphlite/src/session/manager.rs:225–232  ·  view source on GitHub ↗

Create an anonymous session for internal/testing use

(&self)

Source from the content-addressed store, hash-verified

223
224 /// Create an anonymous session for internal/testing use
225 pub fn create_anonymous_session(&self) -> Result<String, String> {
226 let permissions = SessionPermissionCache::new();
227 self.create_session(
228 "anonymous".to_string(),
229 vec!["user".to_string()],
230 permissions,
231 )
232 }
233
234 /// Invalidate all sessions currently using the specified graph
235 /// This is called when a graph is dropped to prevent stale data access

Callers

nothing calls this directly

Calls 1

create_sessionMethod · 0.45

Tested by

no test coverage detected