This repository was archived by the owner on Nov 6, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 1
1
import * as sourcegraph from 'sourcegraph'
2
2
3
3
/** The plain properties of a {@link module:sourcegraph.WorkspaceRoot}, without methods and accessors. */
4
- export interface WorkspaceRoot extends Pick < sourcegraph . WorkspaceRoot , 'uri' | 'repository' > { }
4
+ export interface WorkspaceRoot extends Pick < sourcegraph . WorkspaceRoot , 'repository' > {
5
+ uri : string
6
+ }
5
7
6
8
/** The plain properties of a {@link module:sourcegraph.Position}, without methods and accessors. */
7
9
export interface Position extends Pick < sourcegraph . Position , 'line' | 'character' > { }
Original file line number Diff line number Diff line change 1
- import { readFile } from 'fs'
2
-
3
1
/**
4
2
* The Sourcegraph extension API.
5
3
*
@@ -571,6 +569,8 @@ declare module 'sourcegraph' {
571
569
572
570
/**
573
571
* A file system exposes common file operations on files and directories. It uses URIs instead of file paths.
572
+ *
573
+ * @todo Add a way to list all files matching a glob (to reduce network roundtrips).
574
574
*/
575
575
export interface FileSystem {
576
576
/**
You can’t perform that action at this time.
0 commit comments