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 { Schemas } from '../../../../base/common/network.js';
import { dirname, isEqual, joinPath } from '../../../../base/common/resources.js';
import { URI } from '../../../../base/common/uri.js';
import { FileOperationResult, IFileService, toFileOperationResult } from '../../../../platform/files/common/files.js';
import { getGitHubRepositoryFromRemoteUrl, IGitHubRemoteInfo } from '../../../../workbench/contrib/git/common/utils.js';
const MAX_PARENT_LOOKUPS = 50;
export async function resolveGitHubRepositoryFromGitConfigfileService IFileService workspaceUri supportedHosts IGitHubRemoteInfo
configUri fileService workspaceUri
configUri
content fileService configUri
content content supportedHosts
content supportedHosts IGitHubRemoteInfo
remotes name url
remoteName
line content
section line
section
remoteName section
line
remoteName
url remoteName line
url remoteName
remotes name remoteName url url
remotesa b bname aname
remote remotes
repository remoteurl supportedHosts
repository
repository
fileService IFileService workspaceUri
current workspaceUri
i i i
dotGit current
stat fileService dotGit
stat
statisDirectory
dotGit
dotGitContent fileService dotGit
gitDirPath dotGitContent dotGitContent
gitDirPath
gitDir current gitDirPath
commonDirPath fileService gitDir
configRoot commonDirPath gitDir commonDirPath gitDir
configRoot
parent current
parent current
current parent
base value
path value
path
path
normalizedPath path
normalizedPath
basescheme Schemasfile path base path normalizedPath
base normalizedPath
fileService IFileService resource
fileServiceresource
error
error Error FileOperationResult
error
fileService IFileService resource
fileServiceresourcevalue
error
error Error FileOperationResult
error
value
valuelength value value
value
value