(paths: string[])
| 481 | return sliceEntries(dirEntries, data?.opts); |
| 482 | }; |
| 483 | const fileJoin = async (paths: string[]): Promise<FileInfo> => { |
| 484 | const path = paths.length === 1 ? normalizeMockPath(paths[0]) : joinPaths(paths); |
| 485 | const entry = getEntry(path); |
| 486 | if (!entry) { |
| 487 | return makeNotFoundInfo(path); |
| 488 | } |
| 489 | return toFileInfo(entry); |
| 490 | }; |
| 491 | const fileListStream = async function* ( |
| 492 | data: FileListData |
| 493 | ): AsyncGenerator<CommandRemoteListEntriesRtnData, void, boolean> { |
nothing calls this directly
no test coverage detected