src/vs/workbench/services/extensions/node/extensionPoints.ts/DefaultExtensionResolver/resolveExtensions
class DefaultExtensionResolver:	resolveExtensions(): Promise<IExtensionReference[]> {
		return pfs.Promises.readDirsInDir(this.root)
			.then(folders => folders.map(name => ({ name, path: path.join(this.root, name) })));
	}