ide на основе vs code
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
#!/usr/bin/env python3
# ---------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# ---------------------------------------------------------------------------------------------
import argparse
from pathlib import Path, PurePosixPath, PureWindowsPath
import shutil
import stat
import struct
import tempfile
import unicodedata
import zipfile
MAX_ENTRIES = 10_000
MAX_CENTRAL_DIRECTORY_BYTES = 128 * 1024 * 1024
MAX_ENTRY_BYTES = 1024 * 1024 * 1024
MAX_TOTAL_BYTES = 2 * 1024 * 1024 * 1024
MAX_FILENAME_LENGTH = 1024
WINDOWS_INVALID_CHARS = frozenset('<>:"|?*')
WINDOWS_RESERVED_NAMES = frozenset(
index
index
suffix
suffix
EOCD_SIGNATURE
EOCD_STRUCT structStruct
ZIP64_LOCATOR_STRUCT structStruct
ZIP64_EOCD_STRUCT structStruct
CENTRAL_DIRECTORY_STRUCT structStruct
archive Path
archive_size archivestatst_size
tail_size archive_size EOCD_STRUCTsize
archive
seekarchive_size tail_size
tail readtail_size
tail_start archive_size tail_size
eocd_index tailrfindEOCD_SIGNATURE
eocd_index
eocd_index EOCD_STRUCTsize tail
eocd EOCD_STRUCTunpack_fromtail eocd_index
eocd_index EOCD_STRUCTsize eocd tail
eocd_index tailrfindEOCD_SIGNATURE eocd_index
ValueError
_ disk central_directory_disk disk_entries total_entries central_directory_size central_directory_offset _ eocd
eocd_offset tail_start eocd_index
central_directory_end_offset eocd_offset
total_entries central_directory_size central_directory_offset
locator_offset eocd_offset ZIP64_LOCATOR_STRUCTsize
locator_offset
ValueError
seeklocator_offset
locator ZIP64_LOCATOR_STRUCTunpackreadZIP64_LOCATOR_STRUCTsize
locator locator locator
ValueError
seeklocator
zip64_eocd ZIP64_EOCD_STRUCTunpackreadZIP64_EOCD_STRUCTsize
zip64_eocd zip64_eocd zip64_eocd
ValueError
disk_entries total_entries central_directory_size central_directory_offset zip64_eocd
central_directory_end_offset locator
disk central_directory_disk disk_entries total_entries
ValueError
total_entries MAX_ENTRIES
ValueError
central_directory_size MAX_CENTRAL_DIRECTORY_BYTES
ValueError
central_directory_offset central_directory_size central_directory_end_offset
ValueError
seekcentral_directory_offset
remaining central_directory_size
entry_count
remaining
remaining CENTRAL_DIRECTORY_STRUCTsize
ValueError
header CENTRAL_DIRECTORY_STRUCTunpackreadCENTRAL_DIRECTORY_STRUCTsize
header
ValueError
variable_size header header header
entry_size CENTRAL_DIRECTORY_STRUCTsize variable_size
entry_size remaining
ValueError
seekvariable_size
remaining entry_size
entry_count
entry_count MAX_ENTRIES
ValueError
entry_count total_entries
ValueError
path PurePosixPath filename
part pathparts
WINDOWS_INVALID_CHARSintersectionpart partendswith
ValueError
partsplit upper WINDOWS_RESERVED_NAMES
ValueError
source zipfileZipFile root Path zipfileZipInfo Path
entries sourceinfolist
entries MAX_ENTRIES
ValueError
max_total_bytes MAX_TOTAL_BYTES shutildisk_usagerootfree
total_bytes
validated zipfileZipInfo Path
info entries
infofilename MAX_FILENAME_LENGTH unicodedatacategorycharstartswith char infofilename
ValueError
name infofilenamereplace
path PurePosixPathname
pathparts pathis_absolute PureWindowsPathinfofilenamedrive pathparts
ValueError
validate_windows_pathpath infofilename
mode infoexternal_attr
file_type statS_IFMTmode
file_type statS_IFLNK
ValueError
file_type statS_IFREG statS_IFDIR
ValueError
infoflag_bits
ValueError
infofile_size MAX_ENTRY_BYTES
ValueError
total_bytes infofile_size
total_bytes max_total_bytes
ValueError
validatedappendinfo rootjoinpathpathparts
validated
archive Path Path
preflight_archivearchive
root Pathtempfilemkdtempprefixresolve
zipfileZipFilearchive source
entries validate_entriessource root
info target entries
infofilename
infois_dir
targetmkdirparents exist_ok
targetparentmkdirparents exist_ok
sourceinfo input_stream target output_stream
shutilcopyfileobjinput_stream output_stream
Exception KeyboardInterrupt
shutilrmtreeroot
root
parser argparseArgumentParserdescription
parseradd_argument Path
args parserparse_args
root extract_archiveargsarchive
__name__
main