@sussudio/platform
Version:
Internal APIs for VS Code's service injection the base services.
9 lines (7 loc) • 604 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.
*--------------------------------------------------------------------------------------------*/
export declare const AllowedSecondLevelDomains: string[];
export declare function getDomainsOfRemotes(text: string, allowedDomains: readonly string[]): string[];
export declare function getRemotes(text: string, stripEndingDotGit?: boolean): string[];