src/vs/workbench/api/common/extHostFileSystem.ts/ExtHostFileSystem/_asIStat
class ExtHostFileSystem:	private static _asIStat(stat: vscode.FileStat, enableProposedApi: boolean): files.IStat {
		const { type, ctime, mtime, size, permissions } = stat;
		if (enableProposedApi) {
			return { type, ctime, mtime, size, permissions };
		} else {
			return { type, ctime, mtime, size };
		}
	}