(html)
| 383 | }); |
| 384 | }, |
| 385 | parseHTML(html) { |
| 386 | const parser = new DOMParser(); |
| 387 | const doc = parser.parseFromString(html, "text/html"); |
| 388 | const children = doc.body.children; |
| 389 | if (children.length === 1) { |
| 390 | return children[0]; |
| 391 | } |
| 392 | return Array.from(children); |
| 393 | }, |
| 394 | async createFileStructure(uri, pathString, isFile = true) { |
| 395 | const parts = pathString.split("/").filter(Boolean); |
| 396 | let currentUri = uri; |
nothing calls this directly
no outgoing calls
no test coverage detected