ide на основе vs code
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { equalsIgnoreCase } from '../../../../base/common/strings.js';
import { URI } from '../../../../base/common/uri.js';
import { GitRemote, GitRepositoryState } from './gitService.js';
export interface IGitHubRemoteInfo {
readonly owner: string;
readonly repo: string;
}
const DEFAULT_GITHUB_HOSTS = ['github.com', 'www.github.com'];
export function hasGitHubRemotes(repositoryState: GitRepositoryState
hosts
remotes repositoryState
remote remotefetchUrl
remote remotefetchUrl
remote remotes
remotehost
hostshost remotehost host
hostshost remotehosthost
repositoryState GitRepositoryState supportedHosts IGitHubRemoteInfo
remote repositoryState
remotefetchUrl
repository remotefetchUrl supportedHosts
repository
repository
remoteUrl supportedHosts IGitHubRemoteInfo
remote remoteUrl
remote
host remotescheme remotehost remoterawHost
supportedHostsnormalizeHostsupportedHost host supportedHost
segments remotepath
segmentslength segments segments
owner segments repo segments
host
host
repositoryState GitRepositoryState GitRemote
repositoryStateremoteslength
repositoryStateremotes
remotes
remoteIndex repositoryStateremotesr rname repositoryStateupstreamremote
remoteIndex
fetchUrl repositoryStateremotesremoteIndexfetchUrl
fetchUrl
remotesrepositoryStateremotesremoteIndexname repositoryStateremotesremoteIndex
originIndex repositoryStateremotesr rname
originIndex
fetchUrl repositoryStateremotesoriginIndexfetchUrl
fetchUrl
remotesrepositoryStateremotesoriginIndexname repositoryStateremotesoriginIndex
remote repositoryStateremotes
remotesremotename
remotesremotename remote
remotes
fetchUrl scheme host rawHost path
fetchUrl fetchUrl
fetchUrl
parts fetchUrl
partslength
fetchUrl parts parts
repoUrl fetchUrl
authority repoUrlauthority
path repoUrlpath
repoUrlscheme repoUrlscheme repoUrlscheme
splitAuthority authority
splitAuthoritylength
extractedHost splitAuthority
extractedHost
rawHost extractedHost
normalizedHost rawHost
scheme repoUrlscheme host normalizedHost rawHost path path
err