MCPcopy Create free account
hub / github.com/Tong89/smartNode / labelLinkMode

Function labelLinkMode

frontend/src/utils/format.ts:91–94  ·  view source on GitHub ↗
(method: string | undefined | null)

Source from the content-addressed store, hash-verified

89 * @param method - Backend transmission_method value (e.g. "direct").
90 */
91export function labelLinkMode(method: string | undefined | null): string {
92 if (!method) return '-';
93 return LINK_MODE_LABELS[method] || '-';
94}

Callers 1

format.test.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected