MCPcopy Create free account
hub / github.com/Scriptim/bash-prompt-generator / applyState

Function applyState

src/lib/promptParser.ts:237–243  ·  view source on GitHub ↗

* Applies the given properties state to the given prompt element. * * @param element The prompt element to apply the properties state to. * @param state The properties state to apply to the prompt element. * @returns A copy of the given prompt element with the given properties state applied.

(element: PromptElement, state: PropertiesState)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

parsePromptFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected