src/vs/platform/files/browser/htmlFileSystemProvider.ts/HTMLFileSystemProvider/readdir
class HTMLFileSystemProvider:	async readdir(resource: URI): Promise<[string, FileType][]> {
		const parent = await this.getDirectoryHandle(resource);

		if (!parent) {
			throw new Error('Stat error: no parent found');
		}

		const result: [string, FileType][] = [];

		for await (const [name, child] of parent) {
			result.push([name, child.kind === 'file' ? FileType.File : FileType.Directory]);
		}

		return result;
	}