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 { osIsWindows } from './os';
import * as fs from 'fs/promises';
export function isExecutable(filePath: string, windowsExecutableExtensions?: Set<string>): Promise<boolean> | boolean {
if (osIsWindows()) {
const extensions = windowsExecutableExtensions ?? defaultWindowsExecutableExtensionsSet;
return hasWindowsExecutableExtension(filePath, extensions
filePath
filePath
stats fsfilePath
statsmode
error
windowsDefaultExecutableExtensions
defaultWindowsExecutableExtensionsSet
ext windowsDefaultExecutableExtensions
defaultWindowsExecutableExtensionsSetext
_rawConfig key
_cachedExtensions Set
rawConfig key
_rawConfig rawConfig
rawConfig key
_rawConfig rawConfig
_cachedExtensions
Set
_cachedExtensions
_cachedExtensions _rawConfig
_cachedExtensions
filePath extensions Set
fileName filePathMathfilePath filePath
ext extensions
fileNameext
configuredWindowsExecutableExtensions key Set
extensions
configured configuredWindowsExecutableExtensions
excluded
ext value Objectconfigured
value
excludedext
ext windowsDefaultExecutableExtensions
excludedext
extensionsext
ext value Objectconfigured
value
extensionsext
extensions