Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/src/vs/editor/common/diff/linesDiffComputers.ts
3294 views
1
/*---------------------------------------------------------------------------------------------
2
* Copyright (c) Microsoft Corporation. All rights reserved.
3
* Licensed under the MIT License. See License.txt in the project root for license information.
4
*--------------------------------------------------------------------------------------------*/
5
6
import { LegacyLinesDiffComputer } from './legacyLinesDiffComputer.js';
7
import { DefaultLinesDiffComputer } from './defaultLinesDiffComputer/defaultLinesDiffComputer.js';
8
import { ILinesDiffComputer } from './linesDiffComputer.js';
9
10
export const linesDiffComputers = {
11
getLegacy: () => new LegacyLinesDiffComputer(),
12
getDefault: () => new DefaultLinesDiffComputer(),
13
} satisfies Record<string, () => ILinesDiffComputer>;
14
15