MCPcopy Create free account
hub / github.com/Effect-TS/effect / renderFileName

Function renderFileName

packages/cli/src/internal/prompt/file.ts:152–156  ·  view source on GitHub ↗
(file: string, isSelected: boolean)

Source from the content-addressed store, hash-verified

150}
151
152function renderFileName(file: string, isSelected: boolean) {
153 return isSelected
154 ? Doc.annotate(Doc.text(file), Ansi.combine(Ansi.underlined, Ansi.cyanBright))
155 : Doc.text(file)
156}
157
158function renderFiles(
159 state: State,

Callers 1

renderFilesFunction · 0.85

Calls 3

annotateMethod · 0.65
combineMethod · 0.65
textMethod · 0.45

Tested by

no test coverage detected