(path: string)
| 677 | * ``` |
| 678 | */ |
| 679 | export function assertValidPath(path: string): void { |
| 680 | const buffer = new Uint8Array(512); |
| 681 | parsePath(new TextEncoder().encodeInto(path, buffer).written, buffer); |
| 682 | } |
| 683 | |
| 684 | /** |
| 685 | * Asserts that the linkname provided is valid for a {@linkcode TarStream}. |
no test coverage detected