@sussudio/platform
Version:
Internal APIs for VS Code's service injection the base services.
26 lines (24 loc) • 972 B
text/typescript
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { IStringDictionary } from '@sussudio/base/common/collections.mjs';
export interface IMergeResult {
local: {
added: IStringDictionary<string>;
updated: IStringDictionary<string>;
removed: string[];
};
remote: {
added: IStringDictionary<string>;
updated: IStringDictionary<string>;
removed: string[];
};
conflicts: string[];
}
export declare function merge(
local: IStringDictionary<string>,
remote: IStringDictionary<string> | null,
base: IStringDictionary<string> | null,
): IMergeResult;
export declare function areSame(a: IStringDictionary<string>, b: IStringDictionary<string>): boolean;