(input: ResourceStateV1 | undefined)
| 10 | import type { TextEditorFsCallbacks } from './tools/text-editor.js'; |
| 11 | |
| 12 | export function cloneResourceState(input: ResourceStateV1 | undefined): ResourceStateV1 { |
| 13 | return normalizeResourceState(input); |
| 14 | } |
| 15 | |
| 16 | function addUnique(target: string[], value: string): void { |
| 17 | if (!target.includes(value)) target.push(value); |
no test coverage detected