@sussudio/platform
Version:
Internal APIs for VS Code's service injection the base services.
11 lines (10 loc) • 545 B
JavaScript
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
export function isFolderBackupInfo(curr) {
return curr && curr.hasOwnProperty('folderUri');
}
export function isWorkspaceBackupInfo(curr) {
return curr && curr.hasOwnProperty('workspace');
}