MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / user_version

Method user_version

src/catalog/tests/debug.rs:35–41  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

33
34impl StableTrace<'_> {
35 fn user_version(&self) -> Option<&((proto::ConfigKey, proto::ConfigValue), Timestamp, Diff)> {
36 self.0
37 .configs
38 .values
39 .iter()
40 .find(|value| Self::is_user_version(value))
41 }
42
43 fn is_user_version(
44 ((key, _), _, _): &((proto::ConfigKey, proto::ConfigValue), Timestamp, Diff),

Callers 1

test_debugFunction · 0.45

Calls 2

findMethod · 0.45
iterMethod · 0.45

Tested by

no test coverage detected