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

Method humanize_id

src/repr/src/explain.rs:518–526  ·  view source on GitHub ↗
(&self, id: GlobalId)

Source from the content-addressed store, hash-verified

516
517impl<'a> ExprHumanizer for ExprHumanizerExt<'a> {
518 fn humanize_id(&self, id: GlobalId) -> Option<String> {
519 match self.items.get(&id) {
520 Some(item) => item
521 .humanized_id_parts
522 .as_ref()
523 .map(|parts| parts.join(".")),
524 None => self.inner.humanize_id(id),
525 }
526 }
527
528 fn humanize_id_unqualified(&self, id: GlobalId) -> Option<String> {
529 match self.items.get(&id) {

Callers 9

as_explain_multi_planMethod · 0.45
fmtMethod · 0.45
fmt_default_textMethod · 0.45
fmt_verbose_textMethod · 0.45
fmt_raw_syntaxMethod · 0.45
fmt_textMethod · 0.45
fmt_messageMethod · 0.45
fmt_messageMethod · 0.45

Calls 4

getMethod · 0.45
mapMethod · 0.45
as_refMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected