(state: ProblemState, locked: boolean)
| 206 | } |
| 207 | |
| 208 | function parseProblemDecorator(state: ProblemState, locked: boolean): string { |
| 209 | switch (state) { |
| 210 | case ProblemState.AC: |
| 211 | return "$(check) "; |
| 212 | case ProblemState.NotAC: |
| 213 | return "$(x) "; |
| 214 | default: |
| 215 | return locked ? "$(lock) " : ""; |
| 216 | } |
| 217 | } |
| 218 | |
| 219 | async function resolveRelativePath(relativePath: string, node: IProblem, selectedLanguage: string): Promise<string> { |
| 220 | let tag: string = ""; |
no outgoing calls
no test coverage detected