MCPcopy
hub / github.com/uptrace/uptrace / formatFileLine

Function formatFileLine

pkg/clickhouse/chdebug/debug.go:78–81  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

76 return operationColor(operation).Sprintf(" %-16s ", operation)
77}
78func formatFileLine() string {
79 _, file, line := funcFileLine("pkg/clickhouse")
80 return fmt.Sprintf("%s:%d", file, line)
81}
82func operationColor(operation string) *color.Color {
83 switch operation {
84 case "SELECT":

Callers 1

AfterQueryMethod · 0.85

Calls 1

funcFileLineFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…