(spec: string, target: string, id: string)
| 159 | } |
| 160 | |
| 161 | export async function touch(spec: string, target: string, id: string): Promise<{ state: State; entry: Entry }> { |
| 162 | return touchMany([{ spec, target, id }]).then((item) => { |
| 163 | const hit = item[0] |
| 164 | if (hit) return hit |
| 165 | throw new Error("Failed to touch plugin metadata.") |
| 166 | }) |
| 167 | } |
| 168 | |
| 169 | export async function setTheme(id: string, name: string, theme: Theme): Promise<void> { |
| 170 | const file = storePath() |
nothing calls this directly
no test coverage detected