diff options
Diffstat (limited to 'src/vs/platform/files/common/files.ts')
-rw-r--r-- | src/vs/platform/files/common/files.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vs/platform/files/common/files.ts b/src/vs/platform/files/common/files.ts index 1b75291e899..47e7c042f8f 100644 --- a/src/vs/platform/files/common/files.ts +++ b/src/vs/platform/files/common/files.ts @@ -7,7 +7,7 @@ import { VSBuffer, VSBufferReadable, VSBufferReadableStream } from 'vs/base/comm import { CancellationToken } from 'vs/base/common/cancellation'; import { ErrorNoTelemetry } from 'vs/base/common/errors'; import { Event } from 'vs/base/common/event'; -import { IExpression } from 'vs/base/common/glob'; +import { IExpression, IRelativePattern } from 'vs/base/common/glob'; import { IDisposable } from 'vs/base/common/lifecycle'; import { TernarySearchTree } from 'vs/base/common/map'; import { sep } from 'vs/base/common/path'; @@ -238,7 +238,7 @@ export interface IFileService { * Note: recursive file watching is not supported from this method. Only events from files * that are direct children of the provided resource will be reported. */ - watch(resource: URI): IDisposable; + watch(resource: URI, options?: IWatchOptions): IDisposable; /** * Frees up any resources occupied by this service. @@ -437,7 +437,7 @@ export interface IWatchOptions { * watching. If not provided, all paths are considered for * events. */ - includes?: string[]; + includes?: Array<string | IRelativePattern>; } export const enum FileSystemProviderCapabilities { |