mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-06-16 00:56:33 +00:00
11 lines
339 B
TypeScript
11 lines
339 B
TypeScript
import { injectable } from 'inversify';
|
|
import { FileUri } from '@theia/core/lib/node/file-uri';
|
|
import { FileSystemExt } from '../common/protocol/filesystem-ext';
|
|
|
|
@injectable()
|
|
export class NodeFileSystemExt implements FileSystemExt {
|
|
async getUri(fsPath: string): Promise<string> {
|
|
return FileUri.create(fsPath).toString();
|
|
}
|
|
}
|