code-server/packages/ide/src/fill/uri.ts
2019-02-05 11:16:02 -06:00

19 lines
296 B
TypeScript

export interface IURI {
readonly path: string;
readonly fsPath: string;
readonly scheme: string;
}
export interface IURIFactory {
/**
* Convert the object to an instance of a real URI.
*/
create<T extends IURI>(uri: IURI): T;
file(path: string): IURI;
parse(raw: string): IURI;
}