UNPKG

@pkerschbaum/code-oss-file-service

Version:

VS Code ([microsoft/vscode](https://github.com/microsoft/vscode)) includes a rich "`FileService`" and "`DiskFileSystemProvider`" abstraction built on top of Node.js core modules (`fs`, `path`) and Electron's `shell` module. This package allows to use that

26 lines 831 B
/** * Provides safe access to the `cwd` property in node.js, sandboxed or web * environments. * * Note: in web, this property is hardcoded to be `/`. */ export declare const cwd: () => string; /** * Provides safe access to the `env` property in node.js, sandboxed or web * environments. * * Note: in web, this property is hardcoded to be `{}`. */ export declare const env: import("../../base/common/platform").IProcessEnvironment; /** * Provides safe access to the `platform` property in node.js, sandboxed or web * environments. */ export declare const platform: string; /** * Provides safe access to the `arch` method in node.js, sandboxed or web * environments. * Note: `arch` is `undefined` in web */ export declare const arch: string | undefined; //# sourceMappingURL=process.d.ts.map