MCPcopy Create free account
hub / github.com/bytebase/dbhub / horizontalLine

Function horizontalLine

src/utils/startup-table.ts:69–71  ·  view source on GitHub ↗

* Generate a horizontal line of specified width

(width: number, left: string, right: string)

Source from the content-addressed store, hash-verified

67 * Generate a horizontal line of specified width
68 */
69function horizontalLine(width: number, left: string, right: string): string {
70 return left + BOX.horizontal.repeat(width - 2) + right;
71}
72
73/**
74 * Pad or truncate a string to fit a specific width

Callers 1

generateStartupTableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected