MCPcopy
hub / github.com/bombshell-dev/clack / #format

Method #format

packages/core/src/prompts/date.ts:162–164  ·  view source on GitHub ↗
(parts: DateParts)

Source from the content-addressed store, hash-verified

160 }
161
162 #format(parts: DateParts): string {
163 return this.#segments.map((s) => parts[s.type]).join(this.#separator);
164 }
165
166 #refresh() {
167 this._setUserInput(this.#format(this.#segmentValues));

Callers 2

formattedValueMethod · 0.95
#refreshMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected