MCPcopy Create free account
hub / github.com/GraphiteEditor/Graphite / new

Method new

document/graph-storage/src/session.rs:26–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24 /// in tests where determinism matters.
25 #[cfg(any(feature = "conversion", test))]
26 pub fn new() -> Self {
27 Self::with_peer(PeerId(core_types::uuid::generate_uuid()))
28 }
29
30 /// Construct a session bound to a specific `PeerId`. Used by tests; production code wants
31 /// `Session::new`.

Callers

nothing calls this directly

Calls 2

PeerIdClass · 0.85
generate_uuidFunction · 0.85

Tested by

no test coverage detected