Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/client/common/platform/fileSystem.ts
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,6 @@ export class RawFileSystem implements IRawFileSystem {
}

// High-level filesystem operations used by the extension.
@injectable()
export class FileSystemUtils implements IFileSystemUtils {
constructor(
public readonly raw: IRawFileSystem,
Expand Down
5 changes: 2 additions & 3 deletions src/client/common/platform/serviceRegistry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@
'use strict';

import { IServiceManager } from '../../ioc/types';
import { FileSystem, FileSystemUtils } from './fileSystem';
import { FileSystem } from './fileSystem';
import { PlatformService } from './platformService';
import { RegistryImplementation } from './registry';
import { IFileSystem, IFileSystemUtils, IPlatformService, IRegistry } from './types';
import { IFileSystem, IPlatformService, IRegistry } from './types';

export function registerTypes(serviceManager: IServiceManager) {
serviceManager.addSingleton<IPlatformService>(IPlatformService, PlatformService);
serviceManager.addSingleton<IFileSystem>(IFileSystem, FileSystem);
serviceManager.addSingletonInstance<IFileSystemUtils>(IFileSystemUtils, FileSystemUtils.withDefaults());
serviceManager.addSingleton<IRegistry>(IRegistry, RegistryImplementation);
}
1 change: 0 additions & 1 deletion src/client/common/platform/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ export interface IRawFileSystem {
}

// High-level filesystem operations used by the extension.
export const IFileSystemUtils = Symbol('IFileSystemUtils');
export interface IFileSystemUtils {
readonly raw: IRawFileSystem;
readonly paths: IFileSystemPaths;
Expand Down