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.
*--------------------------------------------------------------------------------------------*/
// Based on @sergeche's work on the emmet plugin for atom
import * as path from 'path';
import * as http from 'http';
import * as https from 'https';
import { URL } from 'url';
import { imageSize } from 'image-size';
import { ISizeCalculationResult } from 'image-size/dist/types/interface';
const reUrl = /^https?:/;
export
realWidth
realHeight
width
height
file ImageInfoWithScale
file file
reUrlfile file file
file ImageInfoWithScale
resolve reject
isDataUrl file
isDataUrl
data BufferfileisDataUrllength
data
err
err
file err Error size ISizeCalculationResult
err
err
pathfile size
urlStr ImageInfoWithScale
resolve reject
url urlStr
getTransport urlprotocol httpsget httpget
urlpathname
urlPath urlpathname
url resp
chunks Buffer
bufSize
chunks Buffer
size ISizeCalculationResult Bufferchunks bufSize
resp onData
resp
pathurlPath size
err
chunk Buffer
bufSize chunklength
chunkschunk
chunks
resp
onData
chunks
err
resp onData
err
reject
fileName size ISizeCalculationResult ImageInfoWithScale
m fileName
scale m m
size sizewidth sizeheight
realWidth sizewidth
realHeight sizeheight
width Mathsizewidth scale
height Mathsizeheight scale