MCPcopy Create free account
hub / github.com/rabbitstack/fibratus / renderTopBorder

Method renderTopBorder

pkg/filter/ql/error.go:92–96  ·  view source on GitHub ↗
(width int)

Source from the content-addressed store, hash-verified

90}
91
92func (r *renderer) renderTopBorder(width int) {
93 for i := 0; i < width; i++ {
94 r.WriteString("─")
95 }
96}
97
98func render(e *ParseError) string {
99 pos, ln := findPosInLine(e.Expr, e.Pos)

Callers 1

renderFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected