提交 e4c5f210 编写于 作者: M Martin Aeschlimann

rename to IWatcherOptions

上级 a8f32367
......@@ -23,14 +23,14 @@ import { FileWatcher as WindowsWatcherService } from 'vs/workbench/services/file
import { FileWatcher as NsfwWatcherService } from 'vs/workbench/services/files/node/watcher/nsfw/watcherService';
import { FileWatcher as NodeJSWatcherService } from 'vs/workbench/services/files/node/watcher/nodejs/watcherService';
export interface WatcherOptions {
export interface IWatcherOptions {
pollingInterval?: number;
usePolling: boolean;
}
export class DiskFileSystemProvider extends Disposable implements IFileSystemProvider {
constructor(private logService: ILogService, private watcherOptions?: WatcherOptions) {
constructor(private logService: ILogService, private watcherOptions?: IWatcherOptions) {
super();
}
......@@ -414,7 +414,7 @@ export class DiskFileSystemProvider extends Disposable implements IFileSystemPro
onChange: (changes: IDiskFileChange[]) => void,
onLogMessage: (msg: ILogMessage) => void,
verboseLogging: boolean,
watcherOptions?: WatcherOptions
watcherOptions?: IWatcherOptions
): WindowsWatcherService | UnixWatcherService | NsfwWatcherService
};
let watcherOptions = undefined;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册