Skip to content
This repository was archived by the owner on Nov 6, 2018. It is now read-only.

Commit 0ce6baf

Browse files
committed
wip
1 parent a44cd45 commit 0ce6baf

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/protocol/plainTypes.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
import * as sourcegraph from 'sourcegraph'
22

33
/** 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+
}
57

68
/** The plain properties of a {@link module:sourcegraph.Position}, without methods and accessors. */
79
export interface Position extends Pick<sourcegraph.Position, 'line' | 'character'> {}

src/sourcegraph.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import { readFile } from 'fs'
2-
31
/**
42
* The Sourcegraph extension API.
53
*
@@ -571,6 +569,8 @@ declare module 'sourcegraph' {
571569

572570
/**
573571
* 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).
574574
*/
575575
export interface FileSystem {
576576
/**

0 commit comments

Comments
 (0)