src/vs/workbench/api/browser/mainThreadFileSystem.ts/MainThreadFileSystem/_asFilePermission
class MainThreadFileSystem:	private static _asFilePermission(stat: IFileStat): FilePermission | undefined {
		if (stat.readonly) {
			return FilePermission.Readonly;
		}
		return undefined;
	}