Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes. ย See raw diff
- home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/bin/helpers/browser.sh +12 -0
- home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/bin/helpers/check-requirements.sh +161 -0
- home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/bin/remote-cli/code +12 -0
- home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/css-language-features/client/dist/node/cssClientMain.js +0 -0
- home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/css-language-features/schemas/package.schema.json +1 -0
- home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/css-language-features/server/.npmrc +2 -0
- home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/css-language-features/server/dist/node/cssServerMain.js +0 -0
- home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/css-language-features/server/package.json +1 -0
- home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/debug-auto-launch/.vscode/launch.json +20 -0
- home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/debug-auto-launch/dist/extension.js +2 -0
- home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/debug-server-ready/dist/extension.js +2 -0
- home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/emmet/dist/node/emmetNodeMain.js +0 -0
- home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git-base/dist/extension.js +2 -0
- home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git-base/languages/git-commit.language-configuration.json +1 -0
- home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git-base/languages/git-rebase.language-configuration.json +1 -0
- home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git-base/languages/ignore.language-configuration.json +1 -0
- home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git-base/syntaxes/git-commit.tmLanguage.json +1 -0
- home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git-base/syntaxes/git-rebase.tmLanguage.json +1 -0
- home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git-base/syntaxes/ignore.tmLanguage.json +1 -0
- home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git/dist/askpass-empty.sh +2 -0
- home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git/dist/askpass-main.js +3 -0
- home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git/dist/askpass.sh +5 -0
- home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git/dist/git-editor-empty.sh +1 -0
- home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git/dist/git-editor-main.js +2 -0
- home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git/dist/git-editor.sh +4 -0
- home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git/dist/main.js +0 -0
- home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git/dist/ssh-askpass-empty.sh +2 -0
- home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git/dist/ssh-askpass.sh +5 -0
- home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git/node_modules/@vscode/fs-copyfile/.gitattributes +1 -0
- home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git/node_modules/@vscode/fs-copyfile/README.md +89 -0
- home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git/node_modules/@vscode/fs-copyfile/SECURITY.md +14 -0
- home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git/node_modules/@vscode/fs-copyfile/binding.gyp +23 -0
- home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git/node_modules/@vscode/fs-copyfile/lib/cp.d.ts +2 -0
- home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git/node_modules/@vscode/fs-copyfile/lib/cp.js +349 -0
- home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git/node_modules/@vscode/fs-copyfile/lib/index.d.ts +2 -0
- home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git/node_modules/@vscode/fs-copyfile/lib/index.js +2 -0
- home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git/node_modules/@vscode/fs-copyfile/lib/native.d.ts +9 -0
- home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git/node_modules/@vscode/fs-copyfile/lib/native.js +22 -0
- home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git/node_modules/@vscode/fs-copyfile/package.json +1 -0
- home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git/node_modules/@vscode/fs-copyfile/src/copyfile.cc +287 -0
- home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git/resources/emojis.json +1 -0
- home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git/resources/icons/dark/status-added.svg +6 -0
- home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git/resources/icons/dark/status-conflict.svg +6 -0
- home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git/resources/icons/dark/status-copied.svg +6 -0
- home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git/resources/icons/dark/status-deleted.svg +6 -0
- home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git/resources/icons/dark/status-ignored.svg +6 -0
- home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git/resources/icons/dark/status-modified.svg +6 -0
- home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git/resources/icons/dark/status-renamed.svg +6 -0
- home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git/resources/icons/dark/status-type-changed.svg +6 -0
- home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git/resources/icons/dark/status-untracked.svg +6 -0
home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/bin/helpers/browser.sh
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env sh
|
| 2 |
+
#
|
| 3 |
+
# Copyright (c) Microsoft Corporation. All rights reserved.
|
| 4 |
+
#
|
| 5 |
+
ROOT="$(dirname "$(dirname "$(dirname "$(readlink -f "$0")")")")"
|
| 6 |
+
|
| 7 |
+
APP_NAME="code"
|
| 8 |
+
VERSION="1.130.0"
|
| 9 |
+
COMMIT="1b6a188127eeaf9194f945eb6eb89a657e93c54c"
|
| 10 |
+
EXEC_NAME="code"
|
| 11 |
+
CLI_SCRIPT="$ROOT/out/server-cli.js"
|
| 12 |
+
"$ROOT/node" "$CLI_SCRIPT" "$APP_NAME" "$VERSION" "$COMMIT" "$EXEC_NAME" "--openExternal" "$@"
|
home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/bin/helpers/check-requirements.sh
ADDED
|
@@ -0,0 +1,161 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env sh
|
| 2 |
+
#
|
| 3 |
+
# Copyright (c) Microsoft Corporation. All rights reserved.
|
| 4 |
+
#
|
| 5 |
+
|
| 6 |
+
set -e
|
| 7 |
+
|
| 8 |
+
# The script checks necessary server requirements for the classic server
|
| 9 |
+
# scenarios. Currently, the script can exit with any of the following
|
| 10 |
+
# 2 exit codes and should be handled accordingly on the extension side.
|
| 11 |
+
#
|
| 12 |
+
# 0: All requirements are met, use the default server.
|
| 13 |
+
# 99: Unsupported OS, abort server startup with appropriate error message.
|
| 14 |
+
#
|
| 15 |
+
|
| 16 |
+
# Do not remove this check.
|
| 17 |
+
# Provides a way to skip the server requirements check from
|
| 18 |
+
# outside the install flow. A system process can create this
|
| 19 |
+
# file before the server is downloaded and installed.
|
| 20 |
+
if [ -f "/tmp/vscode-skip-server-requirements-check" ] || [ -n "$VSCODE_SERVER_CUSTOM_GLIBC_LINKER" ]; then
|
| 21 |
+
echo "!!! WARNING: Skipping server pre-requisite check !!!"
|
| 22 |
+
echo "!!! Server stability is not guaranteed. Proceed at your own risk. !!!"
|
| 23 |
+
exit 0
|
| 24 |
+
fi
|
| 25 |
+
|
| 26 |
+
ARCH=$(uname -m)
|
| 27 |
+
found_required_glibc=0
|
| 28 |
+
found_required_glibcxx=0
|
| 29 |
+
MIN_GLIBCXX_VERSION="3.4.25"
|
| 30 |
+
|
| 31 |
+
# Extract the ID value from /etc/os-release
|
| 32 |
+
if [ -f /etc/os-release ]; then
|
| 33 |
+
OS_ID="$(cat /etc/os-release | grep -Eo 'ID=([^"]+)' | sed -n '1s/ID=//p')"
|
| 34 |
+
if [ "$OS_ID" = "nixos" ]; then
|
| 35 |
+
echo "Warning: NixOS detected, skipping GLIBC check"
|
| 36 |
+
exit 0
|
| 37 |
+
fi
|
| 38 |
+
fi
|
| 39 |
+
|
| 40 |
+
# Based on https://github.com/bminor/glibc/blob/520b1df08de68a3de328b65a25b86300a7ddf512/elf/cache.c#L162-L245
|
| 41 |
+
case $ARCH in
|
| 42 |
+
x86_64) LDCONFIG_ARCH="x86-64";;
|
| 43 |
+
armv7l | armv8l)
|
| 44 |
+
MIN_GLIBCXX_VERSION="3.4.26"
|
| 45 |
+
LDCONFIG_ARCH="hard-float"
|
| 46 |
+
;;
|
| 47 |
+
arm64 | aarch64)
|
| 48 |
+
BITNESS=$(getconf LONG_BIT)
|
| 49 |
+
if [ "$BITNESS" = "32" ]; then
|
| 50 |
+
# Can have 32-bit userland on 64-bit kernel
|
| 51 |
+
LDCONFIG_ARCH="hard-float"
|
| 52 |
+
else
|
| 53 |
+
LDCONFIG_ARCH="AArch64"
|
| 54 |
+
fi
|
| 55 |
+
;;
|
| 56 |
+
esac
|
| 57 |
+
|
| 58 |
+
if [ "$OS_ID" != "alpine" ]; then
|
| 59 |
+
if [ -f /sbin/ldconfig ]; then
|
| 60 |
+
# Look up path
|
| 61 |
+
libstdcpp_paths=$(/sbin/ldconfig -p | grep 'libstdc++.so.6')
|
| 62 |
+
|
| 63 |
+
if [ "$(echo "$libstdcpp_paths" | wc -l)" -gt 1 ]; then
|
| 64 |
+
libstdcpp_path=$(echo "$libstdcpp_paths" | grep "$LDCONFIG_ARCH" | awk '{print $NF}')
|
| 65 |
+
else
|
| 66 |
+
libstdcpp_path=$(echo "$libstdcpp_paths" | awk '{print $NF}')
|
| 67 |
+
fi
|
| 68 |
+
elif [ -f /usr/lib/libstdc++.so.6 ]; then
|
| 69 |
+
# Typical path
|
| 70 |
+
libstdcpp_path='/usr/lib/libstdc++.so.6'
|
| 71 |
+
elif [ -f /usr/lib64/libstdc++.so.6 ]; then
|
| 72 |
+
# Typical path
|
| 73 |
+
libstdcpp_path='/usr/lib64/libstdc++.so.6'
|
| 74 |
+
else
|
| 75 |
+
echo "Warning: Can't find libstdc++.so or ldconfig, can't verify libstdc++ version"
|
| 76 |
+
fi
|
| 77 |
+
|
| 78 |
+
while [ -n "$libstdcpp_path" ]; do
|
| 79 |
+
# Extracts the version number from the path, e.g. libstdc++.so.6.0.22 -> 6.0.22
|
| 80 |
+
# which is then compared based on the fact that release versioning and symbol versioning
|
| 81 |
+
# are aligned for libstdc++. Refs https://gcc.gnu.org/onlinedocs/libstdc++/manual/abi.html
|
| 82 |
+
# (i-e) GLIBCXX_3.4.<release> is provided by libstdc++.so.6.y.<release>
|
| 83 |
+
libstdcpp_path_line=$(echo "$libstdcpp_path" | head -n1)
|
| 84 |
+
libstdcpp_real_path=$(readlink -f "$libstdcpp_path_line")
|
| 85 |
+
libstdcpp_version=$(grep -ao 'GLIBCXX_[0-9]*\.[0-9]*\.[0-9]*' "$libstdcpp_real_path" | sort -V | tail -1)
|
| 86 |
+
libstdcpp_version_number=$(echo "$libstdcpp_version" | sed 's/GLIBCXX_//')
|
| 87 |
+
if [ "$(printf '%s\n' "$MIN_GLIBCXX_VERSION" "$libstdcpp_version_number" | sort -V | head -n1)" = "$MIN_GLIBCXX_VERSION" ]; then
|
| 88 |
+
found_required_glibcxx=1
|
| 89 |
+
break
|
| 90 |
+
fi
|
| 91 |
+
libstdcpp_path=$(echo "$libstdcpp_path" | tail -n +2) # remove first line
|
| 92 |
+
done
|
| 93 |
+
else
|
| 94 |
+
echo "Warning: alpine distro detected, skipping GLIBCXX check"
|
| 95 |
+
found_required_glibcxx=1
|
| 96 |
+
fi
|
| 97 |
+
if [ "$found_required_glibcxx" = "0" ]; then
|
| 98 |
+
echo "Warning: Missing GLIBCXX >= $MIN_GLIBCXX_VERSION! from $libstdcpp_real_path"
|
| 99 |
+
fi
|
| 100 |
+
|
| 101 |
+
if [ "$OS_ID" = "alpine" ]; then
|
| 102 |
+
MUSL_RTLDLIST="/lib/ld-musl-aarch64.so.1 /lib/ld-musl-x86_64.so.1"
|
| 103 |
+
for rtld in ${MUSL_RTLDLIST}; do
|
| 104 |
+
if [ -x $rtld ]; then
|
| 105 |
+
musl_version=$("$rtld" --version 2>&1 | grep "Version" | awk '{print $NF}')
|
| 106 |
+
break
|
| 107 |
+
fi
|
| 108 |
+
done
|
| 109 |
+
if [ "$(printf '%s\n' "1.2.3" "$musl_version" | sort -V | head -n1)" != "1.2.3" ]; then
|
| 110 |
+
echo "Error: Unsupported alpine distribution. Please refer to our supported distro section https://aka.ms/vscode-remote/linux for additional information."
|
| 111 |
+
exit 99
|
| 112 |
+
fi
|
| 113 |
+
found_required_glibc=1
|
| 114 |
+
elif [ -z "$(ldd --version 2>&1 | grep 'musl libc')" ]; then
|
| 115 |
+
if [ -f /sbin/ldconfig ]; then
|
| 116 |
+
# Look up path
|
| 117 |
+
libc_paths=$(/sbin/ldconfig -p | grep 'libc.so.6')
|
| 118 |
+
|
| 119 |
+
if [ "$(echo "$libc_paths" | wc -l)" -gt 1 ]; then
|
| 120 |
+
libc_path=$(echo "$libc_paths" | grep "$LDCONFIG_ARCH" | awk '{print $NF}')
|
| 121 |
+
else
|
| 122 |
+
libc_path=$(echo "$libc_paths" | awk '{print $NF}')
|
| 123 |
+
fi
|
| 124 |
+
elif [ -f /usr/lib/libc.so.6 ]; then
|
| 125 |
+
# Typical path
|
| 126 |
+
libc_path='/usr/lib/libc.so.6'
|
| 127 |
+
elif [ -f /lib64/libc.so.6 ]; then
|
| 128 |
+
# Typical path (OpenSUSE)
|
| 129 |
+
libc_path='/lib64/libc.so.6'
|
| 130 |
+
elif [ -f /usr/lib64/libc.so.6 ]; then
|
| 131 |
+
# Typical path
|
| 132 |
+
libc_path='/usr/lib64/libc.so.6'
|
| 133 |
+
else
|
| 134 |
+
echo "Warning: Can't find libc.so or ldconfig, can't verify libc version"
|
| 135 |
+
fi
|
| 136 |
+
|
| 137 |
+
while [ -n "$libc_path" ]; do
|
| 138 |
+
# Rather than trusting the output of ldd --version (which is not always accurate)
|
| 139 |
+
# we instead use the version of the cached libc.so.6 file itself.
|
| 140 |
+
libc_path_line=$(echo "$libc_path" | head -n1)
|
| 141 |
+
libc_real_path=$(readlink -f "$libc_path_line")
|
| 142 |
+
libc_version=$(cat "$libc_real_path" | sed -n 's/.*release version \([0-9]\+\.[0-9]\+\).*/\1/p')
|
| 143 |
+
if [ "$(printf '%s\n' "2.28" "$libc_version" | sort -V | head -n1)" = "2.28" ]; then
|
| 144 |
+
found_required_glibc=1
|
| 145 |
+
break
|
| 146 |
+
fi
|
| 147 |
+
libc_path=$(echo "$libc_path" | tail -n +2) # remove first line
|
| 148 |
+
done
|
| 149 |
+
if [ "$found_required_glibc" = "0" ]; then
|
| 150 |
+
echo "Warning: Missing GLIBC >= 2.28! from $libc_real_path"
|
| 151 |
+
fi
|
| 152 |
+
else
|
| 153 |
+
echo "Warning: musl detected, skipping GLIBC check"
|
| 154 |
+
found_required_glibc=1
|
| 155 |
+
fi
|
| 156 |
+
|
| 157 |
+
if [ "$found_required_glibc" = "0" ] || [ "$found_required_glibcxx" = "0" ]; then
|
| 158 |
+
echo "Error: Missing required dependencies. Please refer to our FAQ https://aka.ms/vscode-remote/faq/old-linux for additional information."
|
| 159 |
+
# Custom exit code based on https://tldp.org/LDP/abs/html/exitcodes.html
|
| 160 |
+
exit 99
|
| 161 |
+
fi
|
home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/bin/remote-cli/code
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env sh
|
| 2 |
+
#
|
| 3 |
+
# Copyright (c) Microsoft Corporation. All rights reserved.
|
| 4 |
+
#
|
| 5 |
+
ROOT="$(dirname "$(dirname "$(dirname "$(readlink -f "$0")")")")"
|
| 6 |
+
|
| 7 |
+
APP_NAME="code"
|
| 8 |
+
VERSION="1.130.0"
|
| 9 |
+
COMMIT="1b6a188127eeaf9194f945eb6eb89a657e93c54c"
|
| 10 |
+
EXEC_NAME="code"
|
| 11 |
+
CLI_SCRIPT="$ROOT/out/server-cli.js"
|
| 12 |
+
"$ROOT/node" "$CLI_SCRIPT" "$APP_NAME" "$VERSION" "$COMMIT" "$EXEC_NAME" "$@"
|
home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/css-language-features/client/dist/node/cssClientMain.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/css-language-features/schemas/package.schema.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"contributes":{"type":"object","properties":{"css.customData":{"type":"array","markdownDescription":"A list of relative file paths pointing to JSON files following the [custom data format](https://github.com/microsoft/vscode-css-languageservice/blob/master/docs/customData.md).\n\nVS Code loads custom data on startup to enhance its CSS support for the custom CSS properties, at directives, pseudo classes and pseudo elements you specify in the JSON files.\n\nThe file paths are relative to workspace and only workspace folder settings are considered.","items":{"type":"string","description":"Relative path to a CSS custom data file"}}}}}}
|
home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/css-language-features/server/.npmrc
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
legacy-peer-deps="true"
|
| 2 |
+
timeout=180000
|
home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/css-language-features/server/dist/node/cssServerMain.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/css-language-features/server/package.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"name":"vscode-css-languageserver","description":"CSS/LESS/SCSS language server","version":"10.0.0","author":"Microsoft Corporation","license":"MIT","engines":{"node":"*"},"type":"module","main":"./out/node/cssServerMain","browser":"./dist/browser/cssServerMain","dependencies":{"@vscode/l10n":"^0.0.18","vscode-css-languageservice":"^7.0.0-next.1","vscode-languageserver":"^10.0.0-next.18","vscode-uri":"^3.1.0"},"devDependencies":{"@types/node":"24.x"},"overrides":{"vscode-css-languageservice":{"vscode-languageserver-types":"3.17.6-next.7"}},"scripts":{"compile":"gulp compile-extension:css-language-features-server","watch":"gulp watch-extension:css-language-features-server","install-service-next":"npm install vscode-css-languageservice@next","install-service-local":"npm link vscode-css-languageservice","install-server-next":"npm install vscode-languageserver@next","install-server-local":"npm install vscode-languageserver","test":"node ./test/index.js"}}
|
home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/debug-auto-launch/.vscode/launch.json
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
// Use IntelliSense to learn about possible attributes.
|
| 3 |
+
// Hover to view descriptions of existing attributes.
|
| 4 |
+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
| 5 |
+
"version": "0.2.0",
|
| 6 |
+
"configurations": [
|
| 7 |
+
{
|
| 8 |
+
"name": "Extension",
|
| 9 |
+
"type": "extensionHost",
|
| 10 |
+
"request": "launch",
|
| 11 |
+
"skipFiles": ["<node_internals>/**"],
|
| 12 |
+
"args": [
|
| 13 |
+
"--extensionDevelopmentPath=${workspaceFolder}",
|
| 14 |
+
],
|
| 15 |
+
"outFiles": [
|
| 16 |
+
"${workspaceFolder}/out/**/*.js",
|
| 17 |
+
],
|
| 18 |
+
}
|
| 19 |
+
]
|
| 20 |
+
}
|
home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/debug-auto-launch/dist/extension.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"use strict";var B=Object.create;var m=Object.defineProperty;var L=Object.getOwnPropertyDescriptor;var W=Object.getOwnPropertyNames;var F=Object.getPrototypeOf,j=Object.prototype.hasOwnProperty;var R=(t,a)=>{for(var s in a)m(t,s,{get:a[s],enumerable:!0})},E=(t,a,s,o)=>{if(a&&typeof a=="object"||typeof a=="function")for(let n of W(a))!j.call(t,n)&&n!==s&&m(t,n,{get:()=>a[n],enumerable:!(o=L(a,n))||o.enumerable});return t};var N=(t,a,s)=>(s=t!=null?B(F(t)):{},E(a||!t||!t.__esModule?m(s,"default",{value:t,enumerable:!0}):s,t)),V=t=>E(m({},"__esModule",{value:!0}),t);var st={};R(st,{activate:()=>U,deactivate:()=>q});module.exports=V(st);var w=require("fs"),I=require("net"),_=require("path"),e=N(require("vscode"));var X={disabled:e.l10n.t("Auto Attach: Disabled"),always:e.l10n.t("Auto Attach: Always"),smart:e.l10n.t("Auto Attach: Smart"),onlyWithFlag:e.l10n.t("Auto Attach: With Flag")},M={disabled:e.l10n.t("Disabled"),always:e.l10n.t("Always"),smart:e.l10n.t("Smart"),onlyWithFlag:e.l10n.t("Only With Flag")},$={disabled:e.l10n.t("Auto attach is disabled and not shown in status bar"),always:e.l10n.t("Auto attach to every Node.js process launched in the terminal"),smart:e.l10n.t("Auto attach when running scripts that aren't in a node_modules folder"),onlyWithFlag:e.l10n.t("Only auto attach when the `--inspect` flag is given")},J=e.l10n.t("Toggle Auto Attach"),C=e.l10n.t("Toggle auto attach in this workspace"),D=e.l10n.t("Toggle auto attach on this machine"),H=e.l10n.t("Temporarily disable auto attach in this session"),K=e.l10n.t("Re-enable auto attach"),Q=e.l10n.t("Auto Attach: Disabled"),k="extension.node-debug.toggleAutoAttach",S="jsDebugIpcState",f="debug.javascript",g="autoAttachFilter",x=new Set(["autoAttachSmartPattern",g].map(t=>`${f}.${t}`)),T,d,p,u=!1;function U(t){T=Promise.resolve({context:t,state:null}),t.subscriptions.push(e.commands.registerCommand(k,G.bind(null,t))),t.subscriptions.push(e.workspace.onDidChangeConfiguration(a=>{(a.affectsConfiguration(`${f}.${g}`)||[...x].some(s=>a.affectsConfiguration(s)))&&O()})),A(b())}async function q(){await y()}function O(){A("disabled"),A(b())}function z(t){if(t){if(t.workspaceFolderValue)return e.ConfigurationTarget.WorkspaceFolder;if(t.workspaceValue)return e.ConfigurationTarget.Workspace;if(t.globalValue)return e.ConfigurationTarget.Global}else return e.ConfigurationTarget.Global;return e.ConfigurationTarget.Global}async function G(t,a){let s=e.workspace.getConfiguration(f);a=a||z(s.inspect(g));let o=a===e.ConfigurationTarget.Global,n=e.window.createQuickPick(),i=b(),l=["always","smart","onlyWithFlag","disabled"].map(r=>({state:r,label:M[r],description:$[r],alwaysShow:!0}));i!=="disabled"&&l.unshift({setTempDisabled:!u,label:u?K:H,alwaysShow:!0}),n.items=l,n.activeItems=u?[l[0]]:n.items.filter(r=>"state"in r&&r.state===i),n.title=J,n.placeholder=o?D:C,n.buttons=[{iconPath:new e.ThemeIcon(o?"folder":"globe"),tooltip:o?C:D}],n.show();let c=await new Promise(r=>{n.onDidAccept(()=>r(n.selectedItems[0])),n.onDidHide(()=>r(void 0)),n.onDidTriggerButton(()=>{r({scope:o?e.ConfigurationTarget.Workspace:e.ConfigurationTarget.Global})})});if(n.dispose(),!!c){if("scope"in c)return await G(t,c.scope);"state"in c&&(c.state!==i?s.update(g,c.state,a):u&&(c={setTempDisabled:!1})),"setTempDisabled"in c&&(v(t,i,!0),u=c.setTempDisabled,c.setTempDisabled?await y():await h(t),v(t,i,!1))}}function b(){return e.workspace.getConfiguration(f).get(g)??"disabled"}async function Y(t){(p||await t.workspaceState.get(S))&&(await t.workspaceState.update(S,void 0),await e.commands.executeCommand("extension.js-debug.clearAutoAttachVariables"),await y())}async function h(t){let a=await et(t);if(a)return p=Z(a).catch(async s=>{if(console.error("[debug-auto-launch] Error creating auto attach server: ",s),process.platform!=="win32")try{await w.promises.access((0,_.dirname)(a))}catch{console.error("[debug-auto-launch] Refreshing variables from error"),O();return}}),await p}var Z=async t=>{try{return await P(t)}catch{return await w.promises.unlink(t).catch(()=>{}),await P(t)}},P=t=>new Promise((a,s)=>{let o=(0,I.createServer)(n=>{let i=[];n.on("data",async l=>{if(l[l.length-1]!==0){i.push(l);return}i.push(l.slice(0,-1));try{await e.commands.executeCommand("extension.js-debug.autoAttachToProcess",JSON.parse(Buffer.concat(i).toString())),n.write(Buffer.from([0]))}catch(c){n.write(Buffer.from([1])),console.error(c)}})}).on("error",s).listen(t,()=>a(o))});async function y(){let t=await p;t&&await new Promise(a=>t.close(a))}var tt={async disabled(t){await Y(t)},async onlyWithFlag(t){await h(t)},async smart(t){await h(t)},async always(t){await h(t)}};function v(t,a,s=!1){if(a==="disabled"&&!s){d?.hide();return}d||(d=e.window.createStatusBarItem("status.debug.autoAttach",e.StatusBarAlignment.Left),d.name=e.l10n.t("Debug Auto Attach"),d.command=k,d.tooltip=e.l10n.t("Automatically attach to node.js processes in debug mode"),t.subscriptions.push(d));let o=s?"$(loading) ":"";o+=u?Q:X[a],d.text=o,d.show()}function A(t){T=T.then(async({context:a,state:s})=>t===s?{context:a,state:s}:(s!==null&&v(a,s,!0),await tt[t](a),u=!1,v(a,t,!1),{context:a,state:t}))}async function et(t){let a=t.workspaceState.get(S),s=e.extensions.getExtension("ms-vscode.js-debug-nightly")?.extensionPath||e.extensions.getExtension("ms-vscode.js-debug")?.extensionPath,o=at();if(a?.jsDebugPath===s&&a?.settingsValue===o)return a.ipcAddress;let n=await e.commands.executeCommand("extension.js-debug.setAutoAttachVariables",a?.ipcAddress);if(!n)return;let i=n.ipcAddress;return await t.workspaceState.update(S,{ipcAddress:i,jsDebugPath:s,settingsValue:o}),i}function at(){let t={},a=e.workspace.getConfiguration(f);for(let s of x)t[s]=a.get(s);return JSON.stringify(t)}0&&(module.exports={activate,deactivate});
|
| 2 |
+
//# sourceMappingURL=extension.js.map
|
home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/debug-server-ready/dist/extension.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"use strict";var w=Object.create;var l=Object.defineProperty;var m=Object.getOwnPropertyDescriptor;var y=Object.getOwnPropertyNames;var E=Object.getPrototypeOf,R=Object.prototype.hasOwnProperty;var x=(s,a)=>{for(var e in a)l(s,e,{get:a[e],enumerable:!0})},v=(s,a,e,t)=>{if(a&&typeof a=="object"||typeof a=="function")for(let r of y(a))!R.call(s,r)&&r!==e&&l(s,r,{get:()=>a[r],enumerable:!(t=m(a,r))||t.enumerable});return s};var h=(s,a,e)=>(e=s!=null?w(E(s)):{},v(a||!s||!s.__esModule?l(e,"default",{value:s,enumerable:!0}):e,s)),k=s=>v(l({},"__esModule",{value:!0}),s);var L={};x(L,{activate:()=>B});module.exports=k(L);var o=h(require("vscode")),f=h(require("util")),S=require("crypto"),A="listening on.* (https?://\\S+|[0-9]+)",T="http://localhost:%s",C="%s",P="${workspaceFolder}",F=/(?:\x1b\[|\x9b)[=?>!]?[\d;:]*["$#'* ]?[a-zA-Z@^`{}|~]/,W=/(?:\x1b\]|\x9d).*?(?:\x1b\\|\x07|\x9c)/,I=/\x1b(?:[ #%\(\)\*\+\-\.\/]?[a-zA-Z0-9\|}~@])/,O=new RegExp("(?:"+[F.source,W.source,I.source].join("|")+")","g");function U(s){return s&&(s=s.replace(O,"")),s}var b=class{_fired=!1;get hasFired(){return this._fired}fire(){this._fired=!0}},g=class s extends o.Disposable{constructor(e){super(()=>this.internalDispose());this.session=e;e.parentSession?this.trigger=s.start(e.parentSession)?.trigger??new b:this.trigger=new b,this.regexp=new RegExp(e.configuration.serverReadyAction.pattern||A,"i")}session;static detectors=new Map;static terminalDataListener;stoppedEmitter=new o.EventEmitter;onDidSessionStop=this.stoppedEmitter.event;disposables=new Set([]);trigger;shellPid;regexp;static start(e){if(e.configuration.serverReadyAction){let t=s.detectors.get(e);return t||(t=new s(e),s.detectors.set(e,t)),t}}static stop(e){let t=s.detectors.get(e);t&&(s.detectors.delete(e),t.sessionStopped(),t.dispose())}static rememberShellPid(e,t){let r=s.detectors.get(e);r&&(r.shellPid=t)}static async startListeningTerminalData(){this.terminalDataListener||(this.terminalDataListener=o.window.onDidWriteTerminalData(async e=>{let t=await e.terminal.processId,r=U(e.data);for(let[,i]of this.detectors)if(i.shellPid===t){i.detectPattern(r);return}for(let[,i]of this.detectors)if(i.detectPattern(r))return}))}internalDispose(){this.disposables.forEach(e=>e.dispose()),this.disposables.clear()}sessionStopped(){this.stoppedEmitter.fire()}detectPattern(e){if(!this.trigger.hasFired){let t=this.regexp.exec(e);if(t&&t.length>=1)return this.openExternalWithString(this.session,t.length>1?t[1]:""),this.trigger.fire(),!0}return!1}openExternalWithString(e,t){let r=e.configuration.serverReadyAction,i;if(t===""){let n=r.uriFormat||"";if(n.indexOf("%s")>=0){let d=o.l10n.t("Format uri ('{0}') uses a substitution placeholder but pattern did not capture anything.",n);o.window.showErrorMessage(d,{modal:!0}).then(c=>{});return}i=n}else{let n=r.uriFormat||(/^[0-9]+$/.test(t)?T:C);if(n.split("%s").length!==2){let c=o.l10n.t("Format uri ('{0}') must contain exactly one substitution placeholder.",n);o.window.showErrorMessage(c,{modal:!0}).then(u=>{});return}i=f.format(n,t)}this.openExternalWithUri(e,i)}async openExternalWithUri(e,t){let r=e.configuration.serverReadyAction;switch(r.action||"openExternally"){case"openExternally":await o.env.openExternal(o.Uri.parse(t));break;case"openIntegratedBrowser":o.commands.executeCommand("workbench.action.browser.open",t);break;case"debugWithChrome":await this.debugWithBrowser("pwa-chrome",e,t);break;case"debugWithEdge":await this.debugWithBrowser("pwa-msedge",e,t);break;case"startDebugging":r.config?await this.startDebugSession(e,r.config.name,r.config):await this.startDebugSession(e,r.name||"unspecified");break;default:break}}async debugWithBrowser(e,t,r){if(!t.configuration.serverReadyAction.killOnServerStop){await this.startBrowserDebugSession(e,t,r);return}let n=(0,S.randomUUID)(),d=new o.CancellationTokenSource,c=this.catchStartedDebugSession(D=>D.configuration._debugServerReadySessionId===n,d.token);if(!await this.startBrowserDebugSession(e,t,r,n)){d.cancel(),d.dispose();return}let u=await c;if(d.dispose(),!u)return;let p=this.onDidSessionStop(async()=>{p.dispose(),this.disposables.delete(p),await o.debug.stopDebugging(u)});this.disposables.add(p)}startBrowserDebugSession(e,t,r,i){return o.debug.startDebugging(t.workspaceFolder,{type:e,name:"Browser Debug",request:"launch",url:r,webRoot:t.configuration.serverReadyAction.webRoot||P,_debugServerReadySessionId:i})}async startDebugSession(e,t,r){if(!e.configuration.serverReadyAction.killOnServerStop){await o.debug.startDebugging(e.workspaceFolder,r??t);return}let n=new o.CancellationTokenSource,d=this.catchStartedDebugSession(p=>p.name===t,n.token);if(!await o.debug.startDebugging(e.workspaceFolder,r??t)){n.cancel(),n.dispose();return}let c=await d;if(n.dispose(),!c)return;let u=this.onDidSessionStop(async()=>{u.dispose(),this.disposables.delete(u),await o.debug.stopDebugging(c)});this.disposables.add(u)}catchStartedDebugSession(e,t){return new Promise(r=>{let i=c=>{d.dispose(),n.dispose(),this.disposables.delete(d),this.disposables.delete(n),r(c)},n=t.onCancellationRequested(i),d=o.debug.onDidStartDebugSession(c=>{e(c)&&i(c)});this.disposables.add(d),this.disposables.add(n)})}};function B(s){s.subscriptions.push(o.debug.onDidStartDebugSession(e=>{e.configuration.serverReadyAction&&g.start(e)&&g.startListeningTerminalData()})),s.subscriptions.push(o.debug.onDidTerminateDebugSession(e=>{g.stop(e)}));let a=new Set;s.subscriptions.push(o.debug.registerDebugConfigurationProvider("*",{resolveDebugConfigurationWithSubstitutedVariables(e,t){return t.type&&t.serverReadyAction&&(a.has(t.type)||(a.add(t.type),_(s,t.type))),t}}))}function _(s,a){s.subscriptions.push(o.debug.registerDebugAdapterTrackerFactory(a,{createDebugAdapterTracker(e){let t=g.start(e);if(t){let r;return{onDidSendMessage:i=>{if(i.type==="event"&&i.event==="output"&&i.body)switch(i.body.category){case"console":case"stderr":case"stdout":i.body.output&&t.detectPattern(i.body.output);break;default:break}i.type==="request"&&i.command==="runInTerminal"&&i.arguments&&i.arguments.kind==="integrated"&&(r=i.seq)},onWillReceiveMessage:i=>{r&&i.type==="response"&&i.command==="runInTerminal"&&i.body&&r===i.request_seq&&(r=void 0,g.rememberShellPid(e,i.body.shellProcessId))}}}}}))}0&&(module.exports={activate});
|
| 2 |
+
//# sourceMappingURL=extension.js.map
|
home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/emmet/dist/node/emmetNodeMain.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git-base/dist/extension.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"use strict";var Q=Object.create;var p=Object.defineProperty;var w=Object.getOwnPropertyDescriptor;var T=Object.getOwnPropertyNames;var V=Object.getPrototypeOf,O=Object.prototype.hasOwnProperty;var B=(o,e)=>{for(var t in e)p(o,t,{get:e[t],enumerable:!0})},D=(o,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of T(e))!O.call(o,i)&&i!==t&&p(o,i,{get:()=>e[i],enumerable:!(n=w(e,i))||n.enumerable});return o};var L=(o,e,t)=>(t=o!=null?Q(V(o)):{},D(e||!o||!o.__esModule?p(t,"default",{value:o,enumerable:!0}):t,o)),G=o=>D(p({},"__esModule",{value:!0}),o),b=(o,e,t,n)=>{for(var i=n>1?void 0:n?w(e,t):e,r=o.length-1,s;r>=0;r--)(s=o[r])&&(i=(n?s(e,t,i):s(i))||i);return n&&i&&p(e,t,i),i};var N={};B(N,{activate:()=>H});module.exports=G(N);var M=require("vscode");var g=require("vscode");var d=require("vscode");function x(o){return{dispose:o}}function v(o){return o.then(()=>{})}var K;(n=>{function o(i,r){return typeof i=="string"&&(i=t(i)),typeof r=="string"&&(r=t(r)),i.major>r.major?1:i.major<r.major?-1:i.minor>r.minor?1:i.minor<r.minor?-1:i.patch>r.patch?1:i.patch<r.patch?-1:i.pre===void 0&&r.pre!==void 0?1:i.pre!==void 0&&r.pre===void 0?-1:i.pre!==void 0&&r.pre!==void 0?i.pre.localeCompare(r.pre):0}n.compare=o;function e(i,r,s,u){return{major:typeof i=="string"?parseInt(i,10):i,minor:typeof r=="string"?parseInt(r,10):r,patch:s==null?0:typeof s=="string"?parseInt(s,10):s,pre:u}}n.from=e;function t(i){let[r,s]=i.split("-"),[u,c,a]=r.split(".");return e(u,c,a,s)}n.fromString=t})(K||={});function C(o){return A((e,t)=>{let n=`$debounce$${t}`;return function(...i){clearTimeout(this[n]),this[n]=setTimeout(()=>e.apply(this,i),o)}})}var I=A(j);function j(o,e){let t=`$throttle$current$${e}`,n=`$throttle$next$${e}`,i=function(...r){if(this[n])return this[n];if(this[t])return this[n]=v(this[t]).then(()=>(this[n]=void 0,i.apply(this,r))),this[n];this[t]=o.apply(this,r);let s=()=>this[t]=void 0;return v(this[t]).then(s,s),this[t]};return i}function A(o){return(e,t,n)=>{if(typeof n.value!="function")throw new Error("not supported");n.value=o(n.value,String(t))}}async function _(o){let e=[],t=await new Promise(n=>{e.push(o.onDidAccept(()=>n(o.selectedItems[0])),o.onDidHide(()=>n(void 0))),o.show()});return o.hide(),e.forEach(n=>n.dispose()),t}var f=class{constructor(e){this.provider=e}provider;disposables=[];isDisposed=!1;quickpick;dispose(){this.disposables.forEach(e=>e.dispose()),this.disposables=[],this.quickpick=void 0,this.isDisposed=!0}ensureQuickPick(){this.quickpick||(this.quickpick=d.window.createQuickPick(),this.disposables.push(this.quickpick),this.quickpick.ignoreFocusOut=!0,this.disposables.push(this.quickpick.onDidHide(()=>this.dispose())),this.provider.supportsQuery?(this.quickpick.placeholder=this.provider.placeholder??d.l10n.t("Repository name (type to search)"),this.disposables.push(this.quickpick.onDidChangeValue(this.onDidChangeValue,this))):this.quickpick.placeholder=this.provider.placeholder??d.l10n.t("Repository name"))}onDidChangeValue(){this.query()}async query(){try{if(this.isDisposed)return;this.ensureQuickPick(),this.quickpick.busy=!0,this.quickpick.show();let e=await this.provider.getRemoteSources(this.quickpick?.value)||[];if(this.isDisposed)return;e.length===0?this.quickpick.items=[{label:d.l10n.t("No remote repositories found."),alwaysShow:!0}]:this.quickpick.items=e.map(t=>({label:t.icon?`$(${t.icon}) ${t.name}`:t.name,description:t.description||(typeof t.url=="string"?t.url:t.url[0]),detail:t.detail,remoteSource:t,alwaysShow:!0}))}catch(e){this.quickpick.items=[{label:d.l10n.t("{0} Error: {1}","$(error)",e.message),alwaysShow:!0}],console.error(e)}finally{this.isDisposed||(this.quickpick.busy=!1)}}async pick(){return await this.query(),this.isDisposed?void 0:(await _(this.quickpick))?.remoteSource}};b([C(300)],f.prototype,"onDidChangeValue",1),b([I],f.prototype,"query",1);async function F(o,e){let t=o.getRemoteProviders(),n=[];for(let i of t){let r=await i.getRemoteSourceActions?.(e);r?.length&&n.push(...r)}return n}async function S(o,e={}){let t=d.window.createQuickPick();if(t.title=e.title,e.providerName){let c=o.getRemoteProviders().filter(a=>a.name===e.providerName)[0];if(c)return await E(c,e)}let n=o.getRemoteProviders().map(c=>({label:(c.icon?`$(${c.icon}) `:"")+(e.providerLabel?e.providerLabel(c):c.name),alwaysShow:!0,provider:c})),i=[];if(e.showRecentSources)for(let{provider:c}of n){let a=(await c.getRecentRemoteSources?.()??[]).map(m=>({...m,label:(m.icon?`$(${m.icon}) `:"")+m.name,url:typeof m.url=="string"?m.url:m.url[0]}));i.push(...a)}let r=[{kind:d.QuickPickItemKind.Separator,label:d.l10n.t("remote sources")},...n,{kind:d.QuickPickItemKind.Separator,label:d.l10n.t("recently opened")},...i.sort((c,a)=>a.timestamp-c.timestamp)];t.placeholder=e.placeholder??(n.length===0?d.l10n.t("Provide repository URL"):d.l10n.t("Provide repository URL or pick a repository source."));let s=c=>{if(c){let a=(typeof e.urlLabel=="string"?e.urlLabel:e.urlLabel?.(c))??d.l10n.t("URL");t.items=[{label:a,description:c,alwaysShow:!0,url:c},...r]}else t.items=r};t.onDidChangeValue(s),s();let u=await _(t);if(u){if(u.url)return u.url;if(u.provider)return await E(u.provider,e)}}async function E(o,e={}){let t=new f(o),n=await t.pick();t.dispose();let i;if(n&&(typeof n.url=="string"?i=n.url:n.url.length>0&&(i=await d.window.showQuickPick(n.url,{ignoreFocusOut:!0,placeHolder:d.l10n.t("Choose a URL to clone from.")}))),!i||!e.branch)return i;if(!o.getBranches)return{url:i};let r=await o.getBranches(i);if(!r)return{url:i};let s=await d.window.showQuickPick(r,{placeHolder:d.l10n.t("Branch name")});return s?{url:i,branch:s}:{url:i}}var h=class{constructor(e){this._model=e}_model;pickRemoteSource(e){return S(this._model,e)}getRemoteSourceActions(e){return F(this._model,e)}registerRemoteSourceProvider(e){return this._model.registerRemoteSourceProvider(e)}};function $(o){let e=[];return e.push(g.commands.registerCommand("git-base.api.getRemoteSources",t=>{if(!(!o.model||!t))return S(o.model,t)})),g.Disposable.from(...e)}var q=require("vscode");var R=class{enabled=!1;_onDidChangeEnablement=new q.EventEmitter;onDidChangeEnablement=this._onDidChangeEnablement.event;_model=void 0;set model(e){this._model=e;let t=!!e;this.enabled!==t&&(this.enabled=t,this._onDidChangeEnablement.fire(this.enabled))}get model(){return this._model}constructor(e){e&&(this.enabled=!0,this._model=e)}getAPI(e){if(!this._model)throw new Error("Git model not found");if(e!==1)throw new Error(`No API version ${e} found.`);return new h(this._model)}};var y=require("vscode");var P=class{remoteSourceProviders=new Set;_onDidAddRemoteSourceProvider=new y.EventEmitter;onDidAddRemoteSourceProvider=this._onDidAddRemoteSourceProvider.event;_onDidRemoveRemoteSourceProvider=new y.EventEmitter;onDidRemoveRemoteSourceProvider=this._onDidRemoveRemoteSourceProvider.event;registerRemoteSourceProvider(e){return this.remoteSourceProviders.add(e),this._onDidAddRemoteSourceProvider.fire(e),x(()=>{this.remoteSourceProviders.delete(e),this._onDidRemoveRemoteSourceProvider.fire(e)})}getRemoteProviders(){return[...this.remoteSourceProviders.values()]}};var l=L(require("vscode")),k=class{provideFoldingRanges(e,t,n){let i=[],r,s;for(let u=0;u<e.lineCount;u++){let a=e.lineAt(u).text;a.startsWith("#")?(s!==void 0&&(u-s>1&&i.push(new l.FoldingRange(s,u-1)),s=void 0),r===void 0&&(r=u)):r!==void 0&&(u-r>1&&i.push(new l.FoldingRange(r,u-1,l.FoldingRangeKind.Comment)),r=void 0),a.startsWith("diff --git ")&&(s!==void 0&&u-s>1&&i.push(new l.FoldingRange(s,u-1)),s=u)}return r!==void 0&&e.lineCount-r>1&&i.push(new l.FoldingRange(r,e.lineCount-1,l.FoldingRangeKind.Comment)),s!==void 0&&e.lineCount-s>1&&i.push(new l.FoldingRange(s,e.lineCount-1)),i}};function H(o){let e=new R(new P);return o.subscriptions.push($(e)),o.subscriptions.push(M.languages.registerFoldingRangeProvider("git-commit",new k)),e}0&&(module.exports={activate});
|
| 2 |
+
//# sourceMappingURL=extension.js.map
|
home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git-base/languages/git-commit.language-configuration.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"comments":{"lineComment":"#","blockComment":["#"," "]},"brackets":[["{","}"],["[","]"],["(",")"]],"autoClosingPairs":[{"open":"{","close":"}"},{"open":"[","close":"]"},{"open":"(","close":")"},{"open":"'","close":"'","notIn":["string","comment"]},{"open":"\"","close":"\"","notIn":["string"]},{"open":"`","close":"`","notIn":["string","comment"]},{"open":"/**","close":" */","notIn":["string"]}]}
|
home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git-base/languages/git-rebase.language-configuration.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"comments":{"lineComment":"#","blockComment":["#"," "]},"brackets":[["{","}"],["[","]"],["(",")"]],"autoClosingPairs":[{"open":"{","close":"}"},{"open":"[","close":"]"},{"open":"(","close":")"},{"open":"'","close":"'","notIn":["string","comment"]},{"open":"\"","close":"\"","notIn":["string"]},{"open":"`","close":"`","notIn":["string","comment"]},{"open":"/**","close":" */","notIn":["string"]}]}
|
home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git-base/languages/ignore.language-configuration.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"comments":{"lineComment":"#"},"autoClosingPairs":[{"open":"{","close":"}"},{"open":"[","close":"]"},{"open":"(","close":")"},{"open":"'","close":"'","notIn":["string","comment"]},{"open":"\"","close":"\"","notIn":["string"]},{"open":"`","close":"`","notIn":["string","comment"]}]}
|
home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git-base/syntaxes/git-commit.tmLanguage.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"information_for_contributors":["This file has been converted from https://github.com/walles/git-commit-message-plus/blob/master/syntaxes/git-commit.tmLanguage.json","If you want to provide a fix or improvement, please create a pull request against the original repository.","Once accepted there, we are happy to receive an update request."],"version":"https://github.com/walles/git-commit-message-plus/commit/35a079dea5a91b087021b40c01a6bb4eb0337a87","name":"Git Commit Message","scopeName":"text.git-commit","patterns":[{"comment":"diff presented at the end of the commit message when using commit -v.","name":"meta.embedded.diff.git-commit","contentName":"source.diff","begin":"(?=^diff\\ \\-\\-git)","end":"\\z","patterns":[{"include":"source.diff"}]},{"comment":"User supplied message","name":"meta.scope.message.git-commit","begin":"^(?!#)","end":"^(?=#)","patterns":[{"comment":"Mark > 50 lines as deprecated, > 72 as illegal","name":"meta.scope.subject.git-commit","match":"\\G.{0,50}(.{0,22}(.*))$","captures":{"1":{"name":"invalid.deprecated.line-too-long.git-commit"},"2":{"name":"invalid.illegal.line-too-long.git-commit"}}}]},{"comment":"Git supplied metadata in a number of lines starting with #","name":"meta.scope.metadata.git-commit","begin":"^(?=#)","contentName":"comment.line.number-sign.git-commit","end":"^(?!#)","patterns":[{"match":"^#\\t((modified|renamed):.*)$","captures":{"1":{"name":"markup.changed.git-commit"}}},{"match":"^#\\t(new file:.*)$","captures":{"1":{"name":"markup.inserted.git-commit"}}},{"match":"^#\\t(deleted.*)$","captures":{"1":{"name":"markup.deleted.git-commit"}}},{"comment":"Fallback for non-English git commit template","match":"^#\\t([^:]+): *(.*)$","captures":{"1":{"name":"keyword.other.file-type.git-commit"},"2":{"name":"string.unquoted.filename.git-commit"}}}]}]}
|
home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git-base/syntaxes/git-rebase.tmLanguage.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"information_for_contributors":["This file has been converted from https://github.com/textmate/git.tmbundle/blob/master/Syntaxes/Git%20Rebase%20Message.tmLanguage","If you want to provide a fix or improvement, please create a pull request against the original repository.","Once accepted there, we are happy to receive an update request."],"version":"https://github.com/textmate/git.tmbundle/commit/5870cf3f8abad3a6637bdf69250b5d2ded427dc4","name":"Git Rebase Message","scopeName":"text.git-rebase","patterns":[{"captures":{"1":{"name":"punctuation.definition.comment.git-rebase"}},"match":"^\\s*(#).*$\\n?","name":"comment.line.number-sign.git-rebase"},{"captures":{"1":{"name":"support.function.git-rebase"},"2":{"name":"constant.sha.git-rebase"},"3":{"name":"meta.commit-message.git-rebase"}},"match":"^\\s*(pick|p|reword|r|edit|e|squash|s|fixup|f|drop|d)\\s+([0-9a-f]+)\\s+(.*)$","name":"meta.commit-command.git-rebase"},{"captures":{"1":{"name":"support.function.git-rebase"},"2":{"patterns":[{"include":"source.shell"}]}},"match":"^\\s*(exec|x)\\s+(.*)$","name":"meta.commit-command.git-rebase"},{"captures":{"1":{"name":"support.function.git-rebase"}},"match":"^\\s*(break|b)\\s*$","name":"meta.commit-command.git-rebase"}]}
|
home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git-base/syntaxes/ignore.tmLanguage.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"name":"Ignore","scopeName":"source.ignore","patterns":[{"match":"^#.*","name":"comment.line.number-sign.ignore"}]}
|
home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git/dist/askpass-empty.sh
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/sh
|
| 2 |
+
echo ''
|
home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git/dist/askpass-main.js
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"use strict";var E=Object.create;var S=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var T=Object.getPrototypeOf,d=Object.prototype.hasOwnProperty;var C=(s,t,e,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of l(t))!d.call(s,n)&&n!==e&&S(s,n,{get:()=>t[n],enumerable:!(o=f(t,n))||o.enumerable});return s};var _=(s,t,e)=>(e=s!=null?E(T(s)):{},C(t||!s||!s.__esModule?S(e,"default",{value:s,enumerable:!0}):e,s));var P=_(require("fs"));var h=_(require("http")),c=class{constructor(t){this.handlerName=t;let e=process.env.VSCODE_GIT_IPC_HANDLE;if(!e)throw new Error("Missing VSCODE_GIT_IPC_HANDLE");this.ipcHandlePath=e}handlerName;ipcHandlePath;call(t){let e={socketPath:this.ipcHandlePath,path:`/${this.handlerName}`,method:"POST"};return new Promise((o,n)=>{let p=h.request(e,r=>{if(r.statusCode!==200)return n(new Error(`Bad status code: ${r.statusCode}`));let a=[];r.on("data",u=>a.push(u)),r.on("end",()=>o(JSON.parse(Buffer.concat(a).toString("utf8"))))});p.on("error",r=>n(r)),p.write(JSON.stringify(t)),p.end()})}};function i(s){console.error("Missing or invalid credentials."),console.error(s),process.exit(1)}function v(s){if(!process.env.VSCODE_GIT_ASKPASS_PIPE)return i("Missing pipe");if(!process.env.VSCODE_GIT_ASKPASS_TYPE)return i("Missing type");if(process.env.VSCODE_GIT_ASKPASS_TYPE!=="https"&&process.env.VSCODE_GIT_ASKPASS_TYPE!=="ssh")return i(`Invalid type: ${process.env.VSCODE_GIT_ASKPASS_TYPE}`);if(process.env.VSCODE_GIT_COMMAND==="fetch"&&process.env.VSCODE_GIT_FETCH_SILENT)return i("Skip silent fetch commands");let t=process.env.VSCODE_GIT_ASKPASS_PIPE,e=process.env.VSCODE_GIT_ASKPASS_TYPE;new c("askpass").call({askpassType:e,argv:s}).then(n=>{P.writeFileSync(t,n+`
|
| 2 |
+
`),setTimeout(()=>process.exit(0),0)}).catch(n=>i(n))}v(process.argv);
|
| 3 |
+
//# sourceMappingURL=askpass-main.js.map
|
home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git/dist/askpass.sh
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/sh
|
| 2 |
+
VSCODE_GIT_ASKPASS_PIPE=`mktemp`
|
| 3 |
+
ELECTRON_RUN_AS_NODE="1" VSCODE_GIT_ASKPASS_PIPE="$VSCODE_GIT_ASKPASS_PIPE" VSCODE_GIT_ASKPASS_TYPE="https" "$VSCODE_GIT_ASKPASS_NODE" "$VSCODE_GIT_ASKPASS_MAIN" $VSCODE_GIT_ASKPASS_EXTRA_ARGS $*
|
| 4 |
+
cat $VSCODE_GIT_ASKPASS_PIPE
|
| 5 |
+
rm $VSCODE_GIT_ASKPASS_PIPE
|
home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git/dist/git-editor-empty.sh
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
#!/bin/sh
|
home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git/dist/git-editor-main.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"use strict";var d=Object.create;var h=Object.defineProperty;var l=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var m=Object.getPrototypeOf,P=Object.prototype.hasOwnProperty;var g=(t,n,e,s)=>{if(n&&typeof n=="object"||typeof n=="function")for(let o of f(n))!P.call(t,o)&&o!==e&&h(t,o,{get:()=>n[o],enumerable:!(s=l(n,o))||s.enumerable});return t};var w=(t,n,e)=>(e=t!=null?d(m(t)):{},g(n||!t||!t.__esModule?h(e,"default",{value:t,enumerable:!0}):e,t));var p=w(require("http")),i=class{constructor(n){this.handlerName=n;let e=process.env.VSCODE_GIT_IPC_HANDLE;if(!e)throw new Error("Missing VSCODE_GIT_IPC_HANDLE");this.ipcHandlePath=e}handlerName;ipcHandlePath;call(n){let e={socketPath:this.ipcHandlePath,path:`/${this.handlerName}`,method:"POST"};return new Promise((s,o)=>{let a=p.request(e,r=>{if(r.statusCode!==200)return o(new Error(`Bad status code: ${r.statusCode}`));let c=[];r.on("data",u=>c.push(u)),r.on("end",()=>s(JSON.parse(Buffer.concat(c).toString("utf8"))))});a.on("error",r=>o(r)),a.write(JSON.stringify(n)),a.end()})}};function C(t){console.error(t),process.exit(1)}function E(t){let n=new i("git-editor"),e=t[t.length-1];n.call({commitMessagePath:e}).then(()=>{setTimeout(()=>process.exit(0),0)}).catch(s=>C(s))}E(process.argv);
|
| 2 |
+
//# sourceMappingURL=git-editor-main.js.map
|
home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git/dist/git-editor.sh
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/sh
|
| 2 |
+
|
| 3 |
+
ELECTRON_RUN_AS_NODE="1" \
|
| 4 |
+
"$VSCODE_GIT_EDITOR_NODE" "$VSCODE_GIT_EDITOR_MAIN" $VSCODE_GIT_EDITOR_EXTRA_ARGS "$@"
|
home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git/dist/main.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git/dist/ssh-askpass-empty.sh
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/sh
|
| 2 |
+
echo ''
|
home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git/dist/ssh-askpass.sh
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/sh
|
| 2 |
+
VSCODE_GIT_ASKPASS_PIPE=`mktemp`
|
| 3 |
+
ELECTRON_RUN_AS_NODE="1" VSCODE_GIT_ASKPASS_PIPE="$VSCODE_GIT_ASKPASS_PIPE" VSCODE_GIT_ASKPASS_TYPE="ssh" "$VSCODE_GIT_ASKPASS_NODE" "$VSCODE_GIT_ASKPASS_MAIN" $VSCODE_GIT_ASKPASS_EXTRA_ARGS $*
|
| 4 |
+
cat $VSCODE_GIT_ASKPASS_PIPE
|
| 5 |
+
rm $VSCODE_GIT_ASKPASS_PIPE
|
home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git/node_modules/@vscode/fs-copyfile/.gitattributes
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
test/fixtures/*.tar.gz filter=lfs diff=lfs merge=lfs -text
|
home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git/node_modules/@vscode/fs-copyfile/README.md
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# vscode-fs
|
| 2 |
+
|
| 3 |
+
Native `fs.copyFile` replacement for macOS with copy-on-write support using [`fclonefileat(2)`](https://www.manpagez.com/man/2/fclonefileat/).
|
| 4 |
+
|
| 5 |
+
When `COPYFILE_FICLONE_FORCE` is set, files are cloned via APFS copy-on-write. For all other modes, falls back to libuv `uv_fs_copyfile`.
|
| 6 |
+
|
| 7 |
+
## Install
|
| 8 |
+
|
| 9 |
+
```
|
| 10 |
+
npm install vscode-fs
|
| 11 |
+
```
|
| 12 |
+
|
| 13 |
+
Requires Node.js >= 22.6.0.
|
| 14 |
+
|
| 15 |
+
On macOS 12+, `COPYFILE_FICLONE_FORCE` uses native APFS copy-on-write cloning.
|
| 16 |
+
On Windows and Linux, the module defaults to Node.js `fs.copyFile` and `fs.cp`.
|
| 17 |
+
|
| 18 |
+
## Usage
|
| 19 |
+
|
| 20 |
+
```typescript
|
| 21 |
+
import { copyFile, copyFileSync, cp, isCloneSupported, constants } from 'vscode-fs';
|
| 22 |
+
|
| 23 |
+
// Async
|
| 24 |
+
await copyFile('src.txt', 'dst.txt', constants.COPYFILE_FICLONE_FORCE);
|
| 25 |
+
|
| 26 |
+
// Sync
|
| 27 |
+
copyFileSync('src.txt', 'dst.txt', constants.COPYFILE_FICLONE_FORCE);
|
| 28 |
+
|
| 29 |
+
// With EXCL (fail if dst exists)
|
| 30 |
+
copyFileSync('src.txt', 'dst.txt', constants.COPYFILE_FICLONE_FORCE | constants.COPYFILE_EXCL);
|
| 31 |
+
|
| 32 |
+
// Falls back to libuv for non-FICLONE_FORCE modes
|
| 33 |
+
copyFileSync('src.txt', 'dst.txt', constants.COPYFILE_FICLONE);
|
| 34 |
+
copyFileSync('src.txt', 'dst.txt');
|
| 35 |
+
|
| 36 |
+
// Recursive directory copy with CoW
|
| 37 |
+
await cp('src-dir', 'dst-dir', { recursive: true });
|
| 38 |
+
|
| 39 |
+
// Check if a path's volume supports CoW cloning
|
| 40 |
+
isCloneSupported('/path/to/file'); // true on APFS
|
| 41 |
+
```
|
| 42 |
+
|
| 43 |
+
## API
|
| 44 |
+
|
| 45 |
+
### `copyFile(src, dst, mode?): Promise<void>`
|
| 46 |
+
|
| 47 |
+
### `copyFileSync(src, dst, mode?): void`
|
| 48 |
+
|
| 49 |
+
### `cp(src, dest, options?): Promise<void>`
|
| 50 |
+
|
| 51 |
+
Recursively copy files and directories, using CoW cloning on APFS volumes. Based on Node.js `fs.cp`. Falls back to regular copy on cross-device or non-APFS volumes.
|
| 52 |
+
|
| 53 |
+
#### Options
|
| 54 |
+
|
| 55 |
+
| Option | Type | Default | Description |
|
| 56 |
+
|---|---|---|---|
|
| 57 |
+
| `recursive` | `boolean` | `false` | Copy directories recursively |
|
| 58 |
+
| `force` | `boolean` | `true` | Overwrite existing files |
|
| 59 |
+
| `errorOnExist` | `boolean` | `false` | Throw if dest exists and `force` is `false` |
|
| 60 |
+
| `preserveTimestamps` | `boolean` | `false` | Preserve timestamps (CoW clones always preserve regardless) |
|
| 61 |
+
| `dereference` | `boolean` | `false` | Dereference symlinks |
|
| 62 |
+
| `verbatimSymlinks` | `boolean` | `false` | Don't resolve relative symlink targets |
|
| 63 |
+
| `filter` | `(src, dest) => boolean \| Promise<boolean>` | โ | Filter function; return `true` to copy |
|
| 64 |
+
| `mode` | `number` | `0` | `copyFile` mode flags (e.g. `COPYFILE_EXCL`) |
|
| 65 |
+
|
| 66 |
+
### `isCloneSupported(path): boolean`
|
| 67 |
+
|
| 68 |
+
Returns `true` if the volume containing `path` supports APFS cloning (`VOL_CAP_INT_CLONE`). Returns `false` for non-existent paths or non-APFS volumes.
|
| 69 |
+
|
| 70 |
+
### `constants`
|
| 71 |
+
|
| 72 |
+
| Constant | Value | Behavior |
|
| 73 |
+
|---|---|---|
|
| 74 |
+
| `COPYFILE_EXCL` | 1 | Fail if destination exists |
|
| 75 |
+
| `COPYFILE_FICLONE` | 2 | Best-effort clone (libuv fallback) |
|
| 76 |
+
| `COPYFILE_FICLONE_FORCE` | 4 | CoW clone via `fclonefileat`, fails if not supported |
|
| 77 |
+
|
| 78 |
+
## Benchmarks
|
| 79 |
+
|
| 80 |
+
Run benchmarks locally:
|
| 81 |
+
|
| 82 |
+
```
|
| 83 |
+
git lfs pull --include test/fixtures/node_modules.tar.gz --exclude ""
|
| 84 |
+
npm run bench
|
| 85 |
+
```
|
| 86 |
+
|
| 87 |
+
## License
|
| 88 |
+
|
| 89 |
+
MIT
|
home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git/node_modules/@vscode/fs-copyfile/SECURITY.md
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!-- BEGIN MICROSOFT SECURITY.MD V1.0.0 BLOCK -->
|
| 2 |
+
|
| 3 |
+
## Security
|
| 4 |
+
|
| 5 |
+
Microsoft takes the security of our software products and services seriously, which
|
| 6 |
+
includes all source code repositories in our GitHub organizations.
|
| 7 |
+
|
| 8 |
+
**Please do not report security vulnerabilities through public GitHub issues.**
|
| 9 |
+
|
| 10 |
+
For security reporting information, locations, contact information, and policies,
|
| 11 |
+
please review the latest guidance for Microsoft repositories at
|
| 12 |
+
[https://aka.ms/SECURITY.md](https://aka.ms/SECURITY.md).
|
| 13 |
+
|
| 14 |
+
<!-- END MICROSOFT SECURITY.MD BLOCK -->
|
home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git/node_modules/@vscode/fs-copyfile/binding.gyp
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"targets": [
|
| 3 |
+
{
|
| 4 |
+
"target_name": "vscode_fs",
|
| 5 |
+
"conditions": [
|
| 6 |
+
["OS=='mac'", {
|
| 7 |
+
"sources": ["src/copyfile.cc"],
|
| 8 |
+
"include_dirs": [
|
| 9 |
+
"<!@(node -p \"require('node-addon-api').include\")"
|
| 10 |
+
],
|
| 11 |
+
"defines": ["NAPI_DISABLE_CPP_EXCEPTIONS"],
|
| 12 |
+
"xcode_settings": {
|
| 13 |
+
"GCC_SYMBOLS_PRIVATE_EXTERN": "YES",
|
| 14 |
+
"MACOSX_DEPLOYMENT_TARGET": "12.0",
|
| 15 |
+
"OTHER_CFLAGS": ["-fvisibility=hidden"]
|
| 16 |
+
}
|
| 17 |
+
}, {
|
| 18 |
+
"type": "none"
|
| 19 |
+
}]
|
| 20 |
+
]
|
| 21 |
+
}
|
| 22 |
+
]
|
| 23 |
+
}
|
home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git/node_modules/@vscode/fs-copyfile/lib/cp.d.ts
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import type { CopyOptions } from 'node:fs';
|
| 2 |
+
export declare function cp(src: string, dest: string, options?: CopyOptions): Promise<void>;
|
home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git/node_modules/@vscode/fs-copyfile/lib/cp.js
ADDED
|
@@ -0,0 +1,349 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
// Based on Node.js lib/internal/fs/cp/cp.js, backed by native CoW clone.
|
| 2 |
+
//
|
| 3 |
+
// When the source volume supports cloning (APFS), files are copied via
|
| 4 |
+
// fclonefileat, falls back to regular copy on cross-device or non-APFS volumes.
|
| 5 |
+
import { cp as nodeCp, stat, lstat, mkdir, opendir, readlink, symlink, unlink, utimes, chmod, } from 'node:fs/promises';
|
| 6 |
+
import { dirname, isAbsolute, join, parse, resolve, sep } from 'node:path';
|
| 7 |
+
import { copyFile as nativeCopyFile, isCloneSupported, constants, isMacOS, } from "./native.js";
|
| 8 |
+
function areIdentical(a, b) {
|
| 9 |
+
return Boolean(b.ino) && Boolean(b.dev) &&
|
| 10 |
+
b.ino === a.ino && b.dev === a.dev;
|
| 11 |
+
}
|
| 12 |
+
function isSrcSubdir(src, dest) {
|
| 13 |
+
const srcArr = resolve(src).split(sep).filter(Boolean);
|
| 14 |
+
const destArr = resolve(dest).split(sep).filter(Boolean);
|
| 15 |
+
return srcArr.every((cur, i) => destArr[i] === cur);
|
| 16 |
+
}
|
| 17 |
+
function cpError(code, message, path) {
|
| 18 |
+
const err = new Error(`${code}: ${message}`);
|
| 19 |
+
err.code = code;
|
| 20 |
+
err.path = path;
|
| 21 |
+
err.syscall = 'cp';
|
| 22 |
+
return err;
|
| 23 |
+
}
|
| 24 |
+
const DIR_COPY_CONCURRENCY = 64;
|
| 25 |
+
function canUseNativeDirectoryClone(opts, useClone) {
|
| 26 |
+
// Native directory clone preserves symlink payloads as-is.
|
| 27 |
+
// That is only semantically compatible when verbatimSymlinks is enabled.
|
| 28 |
+
return useClone
|
| 29 |
+
&& opts.recursive
|
| 30 |
+
&& !opts.filter
|
| 31 |
+
&& !opts.dereference
|
| 32 |
+
&& opts.verbatimSymlinks
|
| 33 |
+
&& !opts.preserveTimestamps
|
| 34 |
+
&& opts.mode === 0;
|
| 35 |
+
}
|
| 36 |
+
async function tryNativeCloneDirectory(src, dest) {
|
| 37 |
+
try {
|
| 38 |
+
await nativeCopyFile(src, dest, constants.COPYFILE_FICLONE_FORCE);
|
| 39 |
+
return true;
|
| 40 |
+
}
|
| 41 |
+
catch (err) {
|
| 42 |
+
if (err.code === 'EXDEV' || err.code === 'ENOTSUP' || err.code === 'EINVAL' || err.code === 'ENOENT') {
|
| 43 |
+
return false;
|
| 44 |
+
}
|
| 45 |
+
throw err;
|
| 46 |
+
}
|
| 47 |
+
}
|
| 48 |
+
function defaults(options) {
|
| 49 |
+
return {
|
| 50 |
+
force: true,
|
| 51 |
+
errorOnExist: false,
|
| 52 |
+
preserveTimestamps: false,
|
| 53 |
+
recursive: false,
|
| 54 |
+
dereference: false,
|
| 55 |
+
verbatimSymlinks: false,
|
| 56 |
+
mode: 0,
|
| 57 |
+
...options,
|
| 58 |
+
};
|
| 59 |
+
}
|
| 60 |
+
export async function cp(src, dest, options) {
|
| 61 |
+
if (!isMacOS) {
|
| 62 |
+
return nodeCp(src, dest, options);
|
| 63 |
+
}
|
| 64 |
+
const opts = defaults(options);
|
| 65 |
+
const useClone = isCloneSupported(src);
|
| 66 |
+
const { srcStat, destStat, skipped } = await asyncCheckPaths(src, dest, opts);
|
| 67 |
+
if (skipped)
|
| 68 |
+
return;
|
| 69 |
+
if (srcStat.isDirectory() && !destStat && canUseNativeDirectoryClone(opts, useClone)) {
|
| 70 |
+
if (await tryNativeCloneDirectory(src, dest)) {
|
| 71 |
+
return;
|
| 72 |
+
}
|
| 73 |
+
}
|
| 74 |
+
await asyncCheckParentPaths(src, srcStat, dest);
|
| 75 |
+
await asyncCheckParentDir(srcStat, destStat, src, dest, opts, useClone);
|
| 76 |
+
}
|
| 77 |
+
async function asyncGetStats(src, dest, opts, skipDestStat = false) {
|
| 78 |
+
const statFn = opts.dereference
|
| 79 |
+
? (f) => stat(f, { bigint: true })
|
| 80 |
+
: (f) => lstat(f, { bigint: true });
|
| 81 |
+
const srcStat = await statFn(src);
|
| 82 |
+
let destStat;
|
| 83 |
+
if (skipDestStat) {
|
| 84 |
+
return [srcStat, null];
|
| 85 |
+
}
|
| 86 |
+
try {
|
| 87 |
+
destStat = await statFn(dest);
|
| 88 |
+
}
|
| 89 |
+
catch (err) {
|
| 90 |
+
if (err.code === 'ENOENT')
|
| 91 |
+
destStat = null;
|
| 92 |
+
else
|
| 93 |
+
throw err;
|
| 94 |
+
}
|
| 95 |
+
return [srcStat, destStat];
|
| 96 |
+
}
|
| 97 |
+
async function asyncCheckPaths(src, dest, opts, skipDestStat = false) {
|
| 98 |
+
if (opts.filter && !(await opts.filter(src, dest))) {
|
| 99 |
+
return { srcStat: null, destStat: null, skipped: true };
|
| 100 |
+
}
|
| 101 |
+
const [srcStat, destStat] = await asyncGetStats(src, dest, opts, skipDestStat);
|
| 102 |
+
if (destStat) {
|
| 103 |
+
if (areIdentical(srcStat, destStat)) {
|
| 104 |
+
throw cpError('ERR_FS_CP_EINVAL', 'src and dest cannot be the same', dest);
|
| 105 |
+
}
|
| 106 |
+
if (srcStat.isDirectory() && !destStat.isDirectory()) {
|
| 107 |
+
throw cpError('ERR_FS_CP_DIR_TO_NON_DIR', `cannot overwrite non-directory ${dest} with directory ${src}`, dest);
|
| 108 |
+
}
|
| 109 |
+
if (!srcStat.isDirectory() && destStat.isDirectory()) {
|
| 110 |
+
throw cpError('ERR_FS_CP_NON_DIR_TO_DIR', `cannot overwrite directory ${dest} with non-directory ${src}`, dest);
|
| 111 |
+
}
|
| 112 |
+
}
|
| 113 |
+
if (srcStat.isDirectory() && isSrcSubdir(src, dest)) {
|
| 114 |
+
throw cpError('ERR_FS_CP_EINVAL', `cannot copy ${src} to a subdirectory of self ${dest}`, dest);
|
| 115 |
+
}
|
| 116 |
+
return { srcStat, destStat, skipped: false };
|
| 117 |
+
}
|
| 118 |
+
async function asyncCheckParentPaths(src, srcStat, dest) {
|
| 119 |
+
const srcParent = resolve(dirname(src));
|
| 120 |
+
const destParent = resolve(dirname(dest));
|
| 121 |
+
if (destParent === srcParent || destParent === parse(destParent).root)
|
| 122 |
+
return;
|
| 123 |
+
let destStat;
|
| 124 |
+
try {
|
| 125 |
+
destStat = await stat(destParent, { bigint: true });
|
| 126 |
+
}
|
| 127 |
+
catch (err) {
|
| 128 |
+
if (err.code === 'ENOENT')
|
| 129 |
+
return;
|
| 130 |
+
throw err;
|
| 131 |
+
}
|
| 132 |
+
if (areIdentical(srcStat, destStat)) {
|
| 133 |
+
throw cpError('ERR_FS_CP_EINVAL', `cannot copy ${src} to a subdirectory of self ${dest}`, dest);
|
| 134 |
+
}
|
| 135 |
+
return asyncCheckParentPaths(src, srcStat, destParent);
|
| 136 |
+
}
|
| 137 |
+
async function asyncCheckParentDir(srcStat, destStat, src, dest, opts, useClone) {
|
| 138 |
+
const destParent = dirname(dest);
|
| 139 |
+
let exists;
|
| 140 |
+
try {
|
| 141 |
+
await stat(destParent);
|
| 142 |
+
exists = true;
|
| 143 |
+
}
|
| 144 |
+
catch (err) {
|
| 145 |
+
exists = err.code !== 'ENOENT' ? true : false;
|
| 146 |
+
if (err.code !== 'ENOENT')
|
| 147 |
+
throw err;
|
| 148 |
+
}
|
| 149 |
+
if (!exists)
|
| 150 |
+
await mkdir(destParent, { recursive: true });
|
| 151 |
+
return asyncGetStatsForCopy(srcStat, destStat, src, dest, opts, useClone, Boolean(destStat));
|
| 152 |
+
}
|
| 153 |
+
async function asyncGetStatsForCopy(srcStat, destStat, src, dest, opts, useClone, destExistsKnown) {
|
| 154 |
+
if (srcStat.isDirectory()) {
|
| 155 |
+
if (!opts.recursive) {
|
| 156 |
+
throw cpError('ERR_FS_EISDIR', `${src} is a directory (not copied)`, src);
|
| 157 |
+
}
|
| 158 |
+
return asyncOnDir(srcStat, destStat, src, dest, opts, useClone, destExistsKnown);
|
| 159 |
+
}
|
| 160 |
+
if (srcStat.isFile() || srcStat.isCharacterDevice() || srcStat.isBlockDevice()) {
|
| 161 |
+
return asyncOnFile(srcStat, destStat, src, dest, opts, useClone);
|
| 162 |
+
}
|
| 163 |
+
if (srcStat.isSymbolicLink()) {
|
| 164 |
+
return asyncOnLink(destStat, src, dest, opts);
|
| 165 |
+
}
|
| 166 |
+
if (srcStat.isSocket()) {
|
| 167 |
+
throw cpError('ERR_FS_CP_SOCKET', `cannot copy a socket file: ${dest}`, dest);
|
| 168 |
+
}
|
| 169 |
+
if (srcStat.isFIFO()) {
|
| 170 |
+
throw cpError('ERR_FS_CP_FIFO_PIPE', `cannot copy a FIFO pipe: ${dest}`, dest);
|
| 171 |
+
}
|
| 172 |
+
throw cpError('ERR_FS_CP_UNKNOWN', `cannot copy an unknown file type: ${dest}`, dest);
|
| 173 |
+
}
|
| 174 |
+
async function asyncOnFile(srcStat, destStat, src, dest, opts, useClone) {
|
| 175 |
+
if (!destStat)
|
| 176 |
+
return asyncCopyFile(srcStat, src, dest, opts, useClone);
|
| 177 |
+
return asyncMayCopyFile(srcStat, src, dest, opts, useClone);
|
| 178 |
+
}
|
| 179 |
+
async function asyncMayCopyFile(srcStat, src, dest, opts, useClone) {
|
| 180 |
+
if (opts.force) {
|
| 181 |
+
await unlink(dest);
|
| 182 |
+
return asyncCopyFile(srcStat, src, dest, opts, useClone);
|
| 183 |
+
}
|
| 184 |
+
if (opts.errorOnExist) {
|
| 185 |
+
throw cpError('ERR_FS_CP_EEXIST', `${dest} already exists`, dest);
|
| 186 |
+
}
|
| 187 |
+
}
|
| 188 |
+
async function asyncCopyFile(srcStat, src, dest, opts, useClone) {
|
| 189 |
+
if (useClone) {
|
| 190 |
+
try {
|
| 191 |
+
await nativeCopyFile(src, dest, constants.COPYFILE_FICLONE_FORCE);
|
| 192 |
+
return;
|
| 193 |
+
}
|
| 194 |
+
catch (err) {
|
| 195 |
+
if (err.code !== 'EXDEV')
|
| 196 |
+
throw err;
|
| 197 |
+
// Cross-device: fall through to regular copy.
|
| 198 |
+
}
|
| 199 |
+
}
|
| 200 |
+
await nativeCopyFile(src, dest, opts.mode);
|
| 201 |
+
if (opts.preserveTimestamps) {
|
| 202 |
+
await asyncHandleTimestampsAndMode(srcStat.mode, src, dest);
|
| 203 |
+
}
|
| 204 |
+
else {
|
| 205 |
+
await chmod(dest, Number(srcStat.mode));
|
| 206 |
+
}
|
| 207 |
+
}
|
| 208 |
+
async function asyncHandleTimestampsAndMode(srcMode, src, dest) {
|
| 209 |
+
const mode = Number(srcMode);
|
| 210 |
+
if ((mode & 0o200) === 0) {
|
| 211 |
+
await chmod(dest, mode | 0o200);
|
| 212 |
+
}
|
| 213 |
+
const updatedSrcStat = await stat(src);
|
| 214 |
+
await utimes(dest, updatedSrcStat.atime, updatedSrcStat.mtime);
|
| 215 |
+
await chmod(dest, mode);
|
| 216 |
+
}
|
| 217 |
+
async function asyncOnDir(srcStat, destStat, src, dest, opts, useClone, destExistsKnown) {
|
| 218 |
+
if (!destStat) {
|
| 219 |
+
await mkdir(dest);
|
| 220 |
+
await asyncCopyDir(src, dest, opts, useClone, false);
|
| 221 |
+
await chmod(dest, Number(srcStat.mode));
|
| 222 |
+
return;
|
| 223 |
+
}
|
| 224 |
+
if (opts.errorOnExist && !opts.force) {
|
| 225 |
+
throw cpError('ERR_FS_CP_EEXIST', `${dest} already exists`, dest);
|
| 226 |
+
}
|
| 227 |
+
return asyncCopyDir(src, dest, opts, useClone, destExistsKnown);
|
| 228 |
+
}
|
| 229 |
+
async function asyncCopyDir(src, dest, opts, useClone, destExistsKnown) {
|
| 230 |
+
const dir = await opendir(src);
|
| 231 |
+
const copyOne = async (entry) => {
|
| 232 |
+
const srcItem = join(src, entry.name);
|
| 233 |
+
const destItem = join(dest, entry.name);
|
| 234 |
+
if (!destExistsKnown) {
|
| 235 |
+
if (opts.filter && !(await opts.filter(srcItem, destItem))) {
|
| 236 |
+
return;
|
| 237 |
+
}
|
| 238 |
+
if (!opts.dereference) {
|
| 239 |
+
await asyncCopyDirentFast(entry, srcItem, destItem, opts, useClone);
|
| 240 |
+
return;
|
| 241 |
+
}
|
| 242 |
+
const [srcStat] = await asyncGetStats(srcItem, destItem, opts, true);
|
| 243 |
+
await asyncGetStatsForCopy(srcStat, null, srcItem, destItem, opts, useClone, false);
|
| 244 |
+
return;
|
| 245 |
+
}
|
| 246 |
+
const { srcStat, destStat, skipped } = await asyncCheckPaths(srcItem, destItem, opts);
|
| 247 |
+
if (!skipped) {
|
| 248 |
+
await asyncGetStatsForCopy(srcStat, destStat, srcItem, destItem, opts, useClone, Boolean(destStat));
|
| 249 |
+
}
|
| 250 |
+
};
|
| 251 |
+
if (opts.filter) {
|
| 252 |
+
for await (const entry of dir) {
|
| 253 |
+
await copyOne(entry);
|
| 254 |
+
}
|
| 255 |
+
return;
|
| 256 |
+
}
|
| 257 |
+
const inFlight = new Set();
|
| 258 |
+
for await (const entry of dir) {
|
| 259 |
+
let task;
|
| 260 |
+
task = copyOne(entry).finally(() => {
|
| 261 |
+
inFlight.delete(task);
|
| 262 |
+
});
|
| 263 |
+
inFlight.add(task);
|
| 264 |
+
if (inFlight.size >= DIR_COPY_CONCURRENCY) {
|
| 265 |
+
await Promise.race(inFlight);
|
| 266 |
+
}
|
| 267 |
+
}
|
| 268 |
+
await Promise.all(inFlight);
|
| 269 |
+
}
|
| 270 |
+
async function asyncCopyDirentFast(entry, src, dest, opts, useClone) {
|
| 271 |
+
if (entry.isDirectory()) {
|
| 272 |
+
await mkdir(dest);
|
| 273 |
+
await asyncCopyDir(src, dest, opts, useClone, false);
|
| 274 |
+
const srcStat = await lstat(src, { bigint: true });
|
| 275 |
+
await chmod(dest, Number(srcStat.mode));
|
| 276 |
+
return;
|
| 277 |
+
}
|
| 278 |
+
if (entry.isFile() || entry.isCharacterDevice() || entry.isBlockDevice()) {
|
| 279 |
+
if (useClone) {
|
| 280 |
+
try {
|
| 281 |
+
await nativeCopyFile(src, dest, constants.COPYFILE_FICLONE_FORCE);
|
| 282 |
+
return;
|
| 283 |
+
}
|
| 284 |
+
catch (err) {
|
| 285 |
+
if (err.code !== 'EXDEV')
|
| 286 |
+
throw err;
|
| 287 |
+
}
|
| 288 |
+
}
|
| 289 |
+
await nativeCopyFile(src, dest, opts.mode);
|
| 290 |
+
const srcStat = await lstat(src, { bigint: true });
|
| 291 |
+
if (opts.preserveTimestamps) {
|
| 292 |
+
await asyncHandleTimestampsAndMode(srcStat.mode, src, dest);
|
| 293 |
+
}
|
| 294 |
+
else {
|
| 295 |
+
await chmod(dest, Number(srcStat.mode));
|
| 296 |
+
}
|
| 297 |
+
return;
|
| 298 |
+
}
|
| 299 |
+
if (entry.isSymbolicLink()) {
|
| 300 |
+
await asyncOnLink(null, src, dest, opts);
|
| 301 |
+
return;
|
| 302 |
+
}
|
| 303 |
+
if (entry.isSocket()) {
|
| 304 |
+
throw cpError('ERR_FS_CP_SOCKET', `cannot copy a socket file: ${dest}`, dest);
|
| 305 |
+
}
|
| 306 |
+
if (entry.isFIFO()) {
|
| 307 |
+
throw cpError('ERR_FS_CP_FIFO_PIPE', `cannot copy a FIFO pipe: ${dest}`, dest);
|
| 308 |
+
}
|
| 309 |
+
const [srcStat] = await asyncGetStats(src, dest, opts, true);
|
| 310 |
+
await asyncGetStatsForCopy(srcStat, null, src, dest, opts, useClone, false);
|
| 311 |
+
}
|
| 312 |
+
async function asyncOnLink(destStat, src, dest, opts) {
|
| 313 |
+
let resolvedSrc = await readlink(src);
|
| 314 |
+
if (!opts.verbatimSymlinks && !isAbsolute(resolvedSrc)) {
|
| 315 |
+
resolvedSrc = resolve(dirname(src), resolvedSrc);
|
| 316 |
+
}
|
| 317 |
+
if (!destStat) {
|
| 318 |
+
return symlink(resolvedSrc, dest).then(() => { });
|
| 319 |
+
}
|
| 320 |
+
let resolvedDest;
|
| 321 |
+
try {
|
| 322 |
+
resolvedDest = await readlink(dest);
|
| 323 |
+
}
|
| 324 |
+
catch (err) {
|
| 325 |
+
if (err.code === 'EINVAL' || err.code === 'UNKNOWN') {
|
| 326 |
+
return symlink(resolvedSrc, dest).then(() => { });
|
| 327 |
+
}
|
| 328 |
+
throw err;
|
| 329 |
+
}
|
| 330 |
+
if (!isAbsolute(resolvedDest)) {
|
| 331 |
+
resolvedDest = resolve(dirname(dest), resolvedDest);
|
| 332 |
+
}
|
| 333 |
+
let srcIsDir;
|
| 334 |
+
try {
|
| 335 |
+
srcIsDir = (await stat(src)).isDirectory();
|
| 336 |
+
}
|
| 337 |
+
catch {
|
| 338 |
+
srcIsDir = false;
|
| 339 |
+
}
|
| 340 |
+
if (srcIsDir && isSrcSubdir(resolvedSrc, resolvedDest)) {
|
| 341 |
+
throw cpError('ERR_FS_CP_EINVAL', `cannot copy ${resolvedSrc} to a subdirectory of self ${resolvedDest}`, dest);
|
| 342 |
+
}
|
| 343 |
+
const srcStat = await stat(src);
|
| 344 |
+
if (srcStat.isDirectory() && isSrcSubdir(resolvedDest, resolvedSrc)) {
|
| 345 |
+
throw cpError('ERR_FS_CP_SYMLINK_TO_SUBDIRECTORY', `cannot overwrite ${resolvedDest} with ${resolvedSrc}`, dest);
|
| 346 |
+
}
|
| 347 |
+
await unlink(dest);
|
| 348 |
+
return symlink(resolvedSrc, dest).then(() => { });
|
| 349 |
+
}
|
home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git/node_modules/@vscode/fs-copyfile/lib/index.d.ts
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
export { copyFile, copyFileSync, isCloneSupported, constants, } from './native.ts';
|
| 2 |
+
export { cp } from './cp.ts';
|
home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git/node_modules/@vscode/fs-copyfile/lib/index.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
export { copyFile, copyFileSync, isCloneSupported, constants, } from "./native.js";
|
| 2 |
+
export { cp } from "./cp.js";
|
home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git/node_modules/@vscode/fs-copyfile/lib/native.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
export declare const isMacOS: boolean;
|
| 2 |
+
export declare const copyFile: (src: string, dst: string, mode?: number) => Promise<void>;
|
| 3 |
+
export declare const copyFileSync: (src: string, dst: string, mode?: number) => void;
|
| 4 |
+
export declare const isCloneSupported: (path: string) => boolean;
|
| 5 |
+
export declare const constants: {
|
| 6 |
+
readonly COPYFILE_EXCL: number;
|
| 7 |
+
readonly COPYFILE_FICLONE: number;
|
| 8 |
+
readonly COPYFILE_FICLONE_FORCE: number;
|
| 9 |
+
};
|
home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git/node_modules/@vscode/fs-copyfile/lib/native.js
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { createRequire } from 'node:module';
|
| 2 |
+
import { copyFile as nodeCopyFile } from 'node:fs/promises';
|
| 3 |
+
import { copyFileSync as nodeCopyFileSync, constants as nodeConstants } from 'node:fs';
|
| 4 |
+
const require = createRequire(import.meta.url);
|
| 5 |
+
export const isMacOS = process.platform === 'darwin';
|
| 6 |
+
let binding;
|
| 7 |
+
if (isMacOS) {
|
| 8 |
+
try {
|
| 9 |
+
binding = require('../build/Release/vscode_fs.node');
|
| 10 |
+
}
|
| 11 |
+
catch {
|
| 12 |
+
binding = require('../build/Debug/vscode_fs.node');
|
| 13 |
+
}
|
| 14 |
+
}
|
| 15 |
+
export const copyFile = isMacOS ? binding.copyFile : nodeCopyFile;
|
| 16 |
+
export const copyFileSync = isMacOS ? binding.copyFileSync : nodeCopyFileSync;
|
| 17 |
+
export const isCloneSupported = isMacOS ? binding.isCloneSupported : () => false;
|
| 18 |
+
export const constants = isMacOS ? binding.constants : {
|
| 19 |
+
COPYFILE_EXCL: nodeConstants.COPYFILE_EXCL,
|
| 20 |
+
COPYFILE_FICLONE: nodeConstants.COPYFILE_FICLONE,
|
| 21 |
+
COPYFILE_FICLONE_FORCE: nodeConstants.COPYFILE_FICLONE_FORCE,
|
| 22 |
+
};
|
home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git/node_modules/@vscode/fs-copyfile/package.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"name":"@vscode/fs-copyfile","version":"2.0.0","description":"Native fs.copyFile with copy-on-write support","type":"module","main":"lib/index.js","scripts":{"install":"node-gyp rebuild","build":"node-gyp rebuild","prepack":"tsc -p tsconfig.publish.json","test":"node --experimental-strip-types test/test.ts","bench":"node --experimental-strip-types test/bench.ts"},"dependencies":{"node-addon-api":"^7.0.0"},"devDependencies":{"@types/node":"^22.19.11","typescript":"^5.7.0"},"engines":{"node":">=22.6.0"},"license":"MIT"}
|
home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git/node_modules/@vscode/fs-copyfile/src/copyfile.cc
ADDED
|
@@ -0,0 +1,287 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#ifndef __APPLE__
|
| 2 |
+
#error "This module currently only supports macOS"
|
| 3 |
+
#endif
|
| 4 |
+
|
| 5 |
+
#include <napi.h>
|
| 6 |
+
#include <sys/clonefile.h>
|
| 7 |
+
#include <sys/attr.h>
|
| 8 |
+
#include <fcntl.h>
|
| 9 |
+
#include <unistd.h>
|
| 10 |
+
#include <errno.h>
|
| 11 |
+
#include <string.h>
|
| 12 |
+
#include <string>
|
| 13 |
+
#include <atomic>
|
| 14 |
+
#include <sys/stat.h>
|
| 15 |
+
#include <uv.h>
|
| 16 |
+
|
| 17 |
+
// CLONE_ACL (macOS 13+) copies ACLs from the source file.
|
| 18 |
+
// On older macOS, fclonefileat returns EINVAL โ we detect and skip.
|
| 19 |
+
static std::atomic<bool> g_no_clone_acl{false};
|
| 20 |
+
|
| 21 |
+
class FdGuard {
|
| 22 |
+
public:
|
| 23 |
+
explicit FdGuard(int fd) : fd_(fd) {}
|
| 24 |
+
~FdGuard() { if (fd_ >= 0) ::close(fd_); }
|
| 25 |
+
int get() const { return fd_; }
|
| 26 |
+
FdGuard(const FdGuard&) = delete;
|
| 27 |
+
FdGuard& operator=(const FdGuard&) = delete;
|
| 28 |
+
private:
|
| 29 |
+
int fd_;
|
| 30 |
+
};
|
| 31 |
+
|
| 32 |
+
static const char* ErrnoToCode(int err) {
|
| 33 |
+
switch (err) {
|
| 34 |
+
case EEXIST: return "EEXIST";
|
| 35 |
+
case EXDEV: return "EXDEV";
|
| 36 |
+
case ENOTSUP: return "ENOTSUP";
|
| 37 |
+
case EACCES: return "EACCES";
|
| 38 |
+
case ENOENT: return "ENOENT";
|
| 39 |
+
case EPERM: return "EPERM";
|
| 40 |
+
case EISDIR: return "EISDIR";
|
| 41 |
+
case ENOSPC: return "ENOSPC";
|
| 42 |
+
case EINVAL: return "EINVAL";
|
| 43 |
+
case EIO: return "EIO";
|
| 44 |
+
default: return "UNKNOWN";
|
| 45 |
+
}
|
| 46 |
+
}
|
| 47 |
+
|
| 48 |
+
// Try fclonefileat with CLONE_ACL, fall back without on EINVAL (macOS < 13).
|
| 49 |
+
static int DoFclonefileat(int srcfd, const char* dst) {
|
| 50 |
+
int flags = g_no_clone_acl.load(std::memory_order_relaxed) ? 0 : CLONE_ACL;
|
| 51 |
+
|
| 52 |
+
if (::fclonefileat(srcfd, AT_FDCWD, dst, flags) == 0) return 0;
|
| 53 |
+
|
| 54 |
+
if (flags != 0 && errno == EINVAL) {
|
| 55 |
+
g_no_clone_acl.store(true, std::memory_order_relaxed);
|
| 56 |
+
if (::fclonefileat(srcfd, AT_FDCWD, dst, 0) == 0) return 0;
|
| 57 |
+
}
|
| 58 |
+
|
| 59 |
+
return errno;
|
| 60 |
+
}
|
| 61 |
+
|
| 62 |
+
static int DoClone(const char* src, const char* dst, int mode) {
|
| 63 |
+
int srcfd = ::open(src, O_RDONLY | O_CLOEXEC);
|
| 64 |
+
if (srcfd < 0) return errno;
|
| 65 |
+
FdGuard guard(srcfd);
|
| 66 |
+
|
| 67 |
+
bool excl = (mode & UV_FS_COPYFILE_EXCL) != 0;
|
| 68 |
+
|
| 69 |
+
int err = DoFclonefileat(srcfd, dst);
|
| 70 |
+
if (err == 0) return 0;
|
| 71 |
+
|
| 72 |
+
if (err == EEXIST && !excl) {
|
| 73 |
+
// Don't overwrite if destination permissions disallow it (nodejs/node#26936).
|
| 74 |
+
// Note: this is a best effort check based on
|
| 75 |
+
// https://github.com/libuv/libuv/pull/3969#issuecomment-1546026985 ignoring the TOCTOU.
|
| 76 |
+
if (::faccessat(AT_FDCWD, dst, R_OK | W_OK, AT_EACCESS) != 0) return errno;
|
| 77 |
+
|
| 78 |
+
// If dst is a symlink, resolve it so we unlink and reclone the target
|
| 79 |
+
// file rather than replacing the symlink itself.
|
| 80 |
+
const char* real_dst = dst;
|
| 81 |
+
std::string resolved;
|
| 82 |
+
struct stat st;
|
| 83 |
+
if (::lstat(dst, &st) == 0 && S_ISLNK(st.st_mode)) {
|
| 84 |
+
uv_fs_t req;
|
| 85 |
+
int r = uv_fs_realpath(nullptr, &req, dst, nullptr);
|
| 86 |
+
if (r != 0) { uv_fs_req_cleanup(&req); return -r; }
|
| 87 |
+
resolved.assign(static_cast<const char*>(req.ptr));
|
| 88 |
+
uv_fs_req_cleanup(&req);
|
| 89 |
+
real_dst = resolved.c_str();
|
| 90 |
+
}
|
| 91 |
+
|
| 92 |
+
if (::unlink(real_dst) != 0 && errno != ENOENT) return errno;
|
| 93 |
+
err = DoFclonefileat(srcfd, real_dst);
|
| 94 |
+
return err;
|
| 95 |
+
}
|
| 96 |
+
|
| 97 |
+
return err;
|
| 98 |
+
}
|
| 99 |
+
|
| 100 |
+
static int DoUvCopyFile(const char* src, const char* dst, int flags) {
|
| 101 |
+
uv_fs_t req;
|
| 102 |
+
uv_loop_t loop;
|
| 103 |
+
int r = uv_loop_init(&loop);
|
| 104 |
+
if (r != 0) return r;
|
| 105 |
+
r = uv_fs_copyfile(&loop, &req, src, dst, flags, nullptr);
|
| 106 |
+
uv_fs_req_cleanup(&req);
|
| 107 |
+
uv_loop_close(&loop);
|
| 108 |
+
return r;
|
| 109 |
+
}
|
| 110 |
+
|
| 111 |
+
static Napi::Error MakeSystemError(Napi::Env env, int err,
|
| 112 |
+
const std::string& src,
|
| 113 |
+
const std::string& dst) {
|
| 114 |
+
std::string msg = std::string(ErrnoToCode(err)) + ": " + strerror(err) +
|
| 115 |
+
", copyfile '" + src + "' -> '" + dst + "'";
|
| 116 |
+
Napi::Error e = Napi::Error::New(env, msg);
|
| 117 |
+
Napi::Object obj = e.Value();
|
| 118 |
+
obj.Set("errno", Napi::Number::New(env, -err));
|
| 119 |
+
obj.Set("code", Napi::String::New(env, ErrnoToCode(err)));
|
| 120 |
+
obj.Set("syscall", Napi::String::New(env, "copyfile"));
|
| 121 |
+
obj.Set("path", Napi::String::New(env, src));
|
| 122 |
+
obj.Set("dest", Napi::String::New(env, dst));
|
| 123 |
+
return e;
|
| 124 |
+
}
|
| 125 |
+
|
| 126 |
+
static Napi::Error MakeUvError(Napi::Env env, int uv_err,
|
| 127 |
+
const std::string& src,
|
| 128 |
+
const std::string& dst) {
|
| 129 |
+
std::string msg = std::string(uv_err_name(uv_err)) + ": " + uv_strerror(uv_err) +
|
| 130 |
+
", copyfile '" + src + "' -> '" + dst + "'";
|
| 131 |
+
Napi::Error e = Napi::Error::New(env, msg);
|
| 132 |
+
Napi::Object obj = e.Value();
|
| 133 |
+
obj.Set("errno", Napi::Number::New(env, uv_err));
|
| 134 |
+
obj.Set("code", Napi::String::New(env, uv_err_name(uv_err)));
|
| 135 |
+
obj.Set("syscall", Napi::String::New(env, "copyfile"));
|
| 136 |
+
obj.Set("path", Napi::String::New(env, src));
|
| 137 |
+
obj.Set("dest", Napi::String::New(env, dst));
|
| 138 |
+
return e;
|
| 139 |
+
}
|
| 140 |
+
|
| 141 |
+
class CopyFileWorker : public Napi::AsyncWorker {
|
| 142 |
+
public:
|
| 143 |
+
CopyFileWorker(Napi::Env env, std::string src, std::string dst,
|
| 144 |
+
int mode, Napi::Promise::Deferred deferred)
|
| 145 |
+
: Napi::AsyncWorker(env),
|
| 146 |
+
src_(std::move(src)),
|
| 147 |
+
dst_(std::move(dst)),
|
| 148 |
+
mode_(mode),
|
| 149 |
+
deferred_(deferred),
|
| 150 |
+
err_(0),
|
| 151 |
+
uv_err_(0),
|
| 152 |
+
use_native_((mode & UV_FS_COPYFILE_FICLONE_FORCE) != 0) {}
|
| 153 |
+
|
| 154 |
+
void Execute() override {
|
| 155 |
+
if (use_native_) {
|
| 156 |
+
err_ = DoClone(src_.c_str(), dst_.c_str(), mode_);
|
| 157 |
+
if (err_ != 0) SetError("clone failed");
|
| 158 |
+
} else {
|
| 159 |
+
uv_err_ = DoUvCopyFile(src_.c_str(), dst_.c_str(), mode_);
|
| 160 |
+
if (uv_err_ != 0) SetError("copy failed");
|
| 161 |
+
}
|
| 162 |
+
}
|
| 163 |
+
|
| 164 |
+
void OnOK() override {
|
| 165 |
+
deferred_.Resolve(Env().Undefined());
|
| 166 |
+
}
|
| 167 |
+
|
| 168 |
+
void OnError(const Napi::Error& /*error*/) override {
|
| 169 |
+
Napi::Error e = use_native_
|
| 170 |
+
? MakeSystemError(Env(), err_, src_, dst_)
|
| 171 |
+
: MakeUvError(Env(), uv_err_, src_, dst_);
|
| 172 |
+
deferred_.Reject(e.Value());
|
| 173 |
+
}
|
| 174 |
+
|
| 175 |
+
private:
|
| 176 |
+
std::string src_;
|
| 177 |
+
std::string dst_;
|
| 178 |
+
int mode_;
|
| 179 |
+
Napi::Promise::Deferred deferred_;
|
| 180 |
+
int err_;
|
| 181 |
+
int uv_err_;
|
| 182 |
+
bool use_native_;
|
| 183 |
+
};
|
| 184 |
+
|
| 185 |
+
static Napi::Value CopyFile(const Napi::CallbackInfo& info) {
|
| 186 |
+
Napi::Env env = info.Env();
|
| 187 |
+
|
| 188 |
+
if (info.Length() < 2 || !info[0].IsString() || !info[1].IsString()) {
|
| 189 |
+
Napi::TypeError::New(env, "src and dst must be strings")
|
| 190 |
+
.ThrowAsJavaScriptException();
|
| 191 |
+
return env.Undefined();
|
| 192 |
+
}
|
| 193 |
+
|
| 194 |
+
std::string src = info[0].As<Napi::String>().Utf8Value();
|
| 195 |
+
std::string dst = info[1].As<Napi::String>().Utf8Value();
|
| 196 |
+
int mode = (info.Length() > 2 && info[2].IsNumber())
|
| 197 |
+
? info[2].As<Napi::Number>().Int32Value()
|
| 198 |
+
: 0;
|
| 199 |
+
|
| 200 |
+
Napi::Promise::Deferred deferred = Napi::Promise::Deferred::New(env);
|
| 201 |
+
auto* worker = new CopyFileWorker(env, std::move(src), std::move(dst),
|
| 202 |
+
mode, deferred);
|
| 203 |
+
worker->Queue();
|
| 204 |
+
return deferred.Promise();
|
| 205 |
+
}
|
| 206 |
+
|
| 207 |
+
static Napi::Value CopyFileSync(const Napi::CallbackInfo& info) {
|
| 208 |
+
Napi::Env env = info.Env();
|
| 209 |
+
|
| 210 |
+
if (info.Length() < 2 || !info[0].IsString() || !info[1].IsString()) {
|
| 211 |
+
Napi::TypeError::New(env, "src and dst must be strings")
|
| 212 |
+
.ThrowAsJavaScriptException();
|
| 213 |
+
return env.Undefined();
|
| 214 |
+
}
|
| 215 |
+
|
| 216 |
+
std::string src = info[0].As<Napi::String>().Utf8Value();
|
| 217 |
+
std::string dst = info[1].As<Napi::String>().Utf8Value();
|
| 218 |
+
int mode = (info.Length() > 2 && info[2].IsNumber())
|
| 219 |
+
? info[2].As<Napi::Number>().Int32Value()
|
| 220 |
+
: 0;
|
| 221 |
+
|
| 222 |
+
if (mode & UV_FS_COPYFILE_FICLONE_FORCE) {
|
| 223 |
+
int err = DoClone(src.c_str(), dst.c_str(), mode);
|
| 224 |
+
if (err != 0) {
|
| 225 |
+
MakeSystemError(env, err, src, dst).ThrowAsJavaScriptException();
|
| 226 |
+
return env.Undefined();
|
| 227 |
+
}
|
| 228 |
+
} else {
|
| 229 |
+
int r = DoUvCopyFile(src.c_str(), dst.c_str(), mode);
|
| 230 |
+
if (r != 0) {
|
| 231 |
+
MakeUvError(env, r, src, dst).ThrowAsJavaScriptException();
|
| 232 |
+
return env.Undefined();
|
| 233 |
+
}
|
| 234 |
+
}
|
| 235 |
+
|
| 236 |
+
return env.Undefined();
|
| 237 |
+
}
|
| 238 |
+
|
| 239 |
+
static Napi::Value IsCloneSupported(const Napi::CallbackInfo& info) {
|
| 240 |
+
Napi::Env env = info.Env();
|
| 241 |
+
|
| 242 |
+
if (info.Length() < 1 || !info[0].IsString()) {
|
| 243 |
+
Napi::TypeError::New(env, "path must be a string")
|
| 244 |
+
.ThrowAsJavaScriptException();
|
| 245 |
+
return env.Undefined();
|
| 246 |
+
}
|
| 247 |
+
|
| 248 |
+
std::string pathStr = info[0].As<Napi::String>().Utf8Value();
|
| 249 |
+
|
| 250 |
+
struct attrlist al = {};
|
| 251 |
+
al.bitmapcount = ATTR_BIT_MAP_COUNT;
|
| 252 |
+
al.volattr = ATTR_VOL_CAPABILITIES;
|
| 253 |
+
|
| 254 |
+
struct {
|
| 255 |
+
uint32_t length;
|
| 256 |
+
vol_capabilities_attr_t caps;
|
| 257 |
+
} buf;
|
| 258 |
+
|
| 259 |
+
if (::getattrlist(pathStr.c_str(), &al, &buf, sizeof(buf), 0) != 0) {
|
| 260 |
+
return Napi::Boolean::New(env, false);
|
| 261 |
+
}
|
| 262 |
+
|
| 263 |
+
bool supported =
|
| 264 |
+
(buf.caps.valid[VOL_CAPABILITIES_INTERFACES] & VOL_CAP_INT_CLONE) &&
|
| 265 |
+
(buf.caps.capabilities[VOL_CAPABILITIES_INTERFACES] & VOL_CAP_INT_CLONE);
|
| 266 |
+
|
| 267 |
+
return Napi::Boolean::New(env, supported);
|
| 268 |
+
}
|
| 269 |
+
|
| 270 |
+
static Napi::Object Init(Napi::Env env, Napi::Object exports) {
|
| 271 |
+
exports.Set("copyFile", Napi::Function::New(env, CopyFile));
|
| 272 |
+
exports.Set("copyFileSync", Napi::Function::New(env, CopyFileSync));
|
| 273 |
+
exports.Set("isCloneSupported", Napi::Function::New(env, IsCloneSupported));
|
| 274 |
+
|
| 275 |
+
Napi::Object constants = Napi::Object::New(env);
|
| 276 |
+
constants.Set("COPYFILE_EXCL",
|
| 277 |
+
Napi::Number::New(env, UV_FS_COPYFILE_EXCL));
|
| 278 |
+
constants.Set("COPYFILE_FICLONE",
|
| 279 |
+
Napi::Number::New(env, UV_FS_COPYFILE_FICLONE));
|
| 280 |
+
constants.Set("COPYFILE_FICLONE_FORCE",
|
| 281 |
+
Napi::Number::New(env, UV_FS_COPYFILE_FICLONE_FORCE));
|
| 282 |
+
exports.Set("constants", constants);
|
| 283 |
+
|
| 284 |
+
return exports;
|
| 285 |
+
}
|
| 286 |
+
|
| 287 |
+
NODE_API_MODULE(vscode_fs, Init)
|
home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git/resources/emojis.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"100":"๐ฏ","1234":"๐ข","+1":"๐","-1":"๐","1st_place_medal":"๐ฅ","2nd_place_medal":"๐ฅ","3rd_place_medal":"๐ฅ","8ball":"๐ฑ","a":"๐
ฐ","ab":"๐","abacus":"๐งฎ","abc":"๐ค","abcd":"๐ก","accept":"๐","adhesive_bandage":"๐ฉน","adult":"๐ง","aerial_tramway":"๐ก","afghanistan":"๐ฆ๐ซ","airplane":"โ","aland_islands":"๐ฆ๐ฝ","alarm_clock":"โฐ","albania":"๐ฆ๐ฑ","alembi":"โ","alembic":"โ","algeria":"๐ฉ๐ฟ","alie":"๐ฝ","alien":"๐ฝ","ambulanc":"๐","ambulance":"๐","american_samoa":"๐ฆ๐ธ","amphora":"๐บ","anchor":"โ","andorra":"๐ฆ๐ฉ","angel":"๐ผ","anger":"๐ข","angola":"๐ฆ๐ด","angry":"๐ ","anguilla":"๐ฆ๐ฎ","anguished":"๐ง","ant":"๐","antarctica":"๐ฆ๐ถ","antigua_barbuda":"๐ฆ๐ฌ","apple":"๐","aquarius":"โ","ar":"๐จ","argentina":"๐ฆ๐ท","aries":"โ","armenia":"๐ฆ๐ฒ","arrow_backward":"โ","arrow_double_down":"โฌ","arrow_double_up":"โซ","arrow_dow":"โฌ๏ธ","arrow_down":"โฌ","arrow_down_small":"๐ฝ","arrow_forward":"โถ","arrow_heading_down":"โคต","arrow_heading_up":"โคด","arrow_left":"โฌ
","arrow_lower_left":"โ","arrow_lower_right":"โ","arrow_right":"โก","arrow_right_hook":"โช","arrow_u":"โฌ๏ธ","arrow_up":"โฌ","arrow_up_down":"โ","arrow_up_small":"๐ผ","arrow_upper_left":"โ","arrow_upper_right":"โ","arrows_clockwise":"๐","arrows_counterclockwise":"๐","art":"๐จ","articulated_lorry":"๐","artificial_satellite":"๐ฐ","artist":"๐งโ๐จ","aruba":"๐ฆ๐ผ","ascension_island":"๐ฆ๐จ","asterisk":"*๏ธโฃ","astonished":"๐ฒ","astronaut":"๐งโ๐","athletic_shoe":"๐","atm":"๐ง","atom_symbol":"โ","australia":"๐ฆ๐บ","austria":"๐ฆ๐น","auto_rickshaw":"๐บ","avocado":"๐ฅ","axe":"๐ช","azerbaijan":"๐ฆ๐ฟ","b":"๐
ฑ","baby":"๐ถ","baby_bottle":"๐ผ","baby_chick":"๐ค","baby_symbol":"๐ผ","back":"๐","bacon":"๐ฅ","badger":"๐ฆก","badminton":"๐ธ","bagel":"๐ฅฏ","baggage_claim":"๐","baguette_bread":"๐ฅ","bahamas":"๐ง๐ธ","bahrain":"๐ง๐ญ","balance_scale":"โ","bald_man":"๐จโ๐ฆฒ","bald_woman":"๐ฉโ๐ฆฒ","ballet_shoes":"๐ฉฐ","balloon":"๐","ballot_box":"๐ณ","ballot_box_with_check":"โ","bamboo":"๐","banana":"๐","bangbang":"โผ","bangladesh":"๐ง๐ฉ","banjo":"๐ช","bank":"๐ฆ","bar_chart":"๐","barbados":"๐ง๐ง","barber":"๐","baseball":"โพ","basket":"๐งบ","basketball":"๐","basketball_man":"โน๏ธโโ๏ธ","basketball_woman":"โน๏ธโโ๏ธ","bat":"๐ฆ","bath":"๐","bathtub":"๐","battery":"๐","beach_umbrella":"๐","bear":"๐ป","bearded_person":"๐ง","bed":"๐","bee":"๐","beer":"๐บ","beers":"๐ป","beetle":"๐","beginner":"๐ฐ","belarus":"๐ง๐พ","belgium":"๐ง๐ช","belize":"๐ง๐ฟ","bell":"๐","bellhop_bell":"๐","benin":"๐ง๐ฏ","bent":"๐ฑ","bento":"๐ฑ","bermuda":"๐ง๐ฒ","beverage_box":"๐ง","bhutan":"๐ง๐น","bicyclist":"๐ด","bike":"๐ฒ","biking_man":"๐ดโโ๏ธ","biking_woman":"๐ดโโ๏ธ","bikini":"๐","billed_cap":"๐งข","biohazard":"โฃ","bird":"๐ฆ","birthday":"๐","black_circle":"โซ","black_flag":"๐ด","black_heart":"๐ค","black_joker":"๐","black_large_square":"โฌ","black_medium_small_square":"โพ","black_medium_square":"โผ","black_nib":"โ","black_small_square":"โช","black_square_button":"๐ฒ","blond_haired_man":"๐ฑโโ๏ธ","blond_haired_person":"๐ฑ","blond_haired_woman":"๐ฑโโ๏ธ","blonde_woman":"๐ฑโโ๏ธ","blossom":"๐ผ","blowfish":"๐ก","blue_book":"๐","blue_car":"๐","blue_heart":"๐","blue_square":"๐ฆ","blush":"๐","boar":"๐","boat":"โต","bolivia":"๐ง๐ด","bomb":"๐ฃ","bone":"๐ฆด","boo":"๐ฅ","book":"๐","bookmar":"๐","bookmark":"๐","bookmark_tabs":"๐","books":"๐","boom":"๐ฅ","boot":"๐ข","bosnia_herzegovina":"๐ง๐ฆ","botswana":"๐ง๐ผ","bouncing_ball_man":"โน๏ธโโ๏ธ","bouncing_ball_person":"โน","bouncing_ball_woman":"โน๏ธโโ๏ธ","bouquet":"๐","bouvet_island":"๐ง๐ป","bow":"๐","bow_and_arrow":"๐น","bowing_man":"๐โโ๏ธ","bowing_woman":"๐โโ๏ธ","bowl_with_spoon":"๐ฅฃ","bowling":"๐ณ","boxing_glove":"๐ฅ","boy":"๐ฆ","brain":"๐ง ","brazil":"๐ง๐ท","bread":"๐","breast_feeding":"๐คฑ","bricks":"๐งฑ","bride_with_veil":"๐ฐ","bridge_at_night":"๐","briefcase":"๐ผ","british_indian_ocean_territory":"๐ฎ๐ด","british_virgin_islands":"๐ป๐ฌ","broccoli":"๐ฅฆ","broken_heart":"๐","broom":"๐งน","brown_circle":"๐ค","brown_heart":"๐ค","brown_square":"๐ซ","brunei":"๐ง๐ณ","bu":"๐","bug":"๐","building_constructio":"๐","building_construction":"๐","bul":"๐ก","bulb":"๐ก","bulgaria":"๐ง๐ฌ","bullettrain_front":"๐
","bullettrain_side":"๐","burkina_faso":"๐ง๐ซ","burrito":"๐ฏ","burundi":"๐ง๐ฎ","bus":"๐","business_suit_levitating":"๐ด","busstop":"๐","bust_in_silhouette":"๐ค","busts_in_silhouett":"๐ฅ","busts_in_silhouette":"๐ฅ","butter":"๐ง","butterfly":"๐ฆ","cactus":"๐ต","cake":"๐ฐ","calendar":"๐","call_me_hand":"๐ค","calling":"๐ฒ","cambodia":"๐ฐ๐ญ","camel":"๐ซ","camera":"๐ท","camera_flas":"๐ธ","camera_flash":"๐ธ","cameroon":"๐จ๐ฒ","camping":"๐","canada":"๐จ๐ฆ","canary_islands":"๐ฎ๐จ","cancer":"โ","candle":"๐ฏ","candy":"๐ฌ","canned_food":"๐ฅซ","canoe":"๐ถ","cape_verde":"๐จ๐ป","capital_abcd":"๐ ","capricorn":"โ","car":"๐","card_file_bo":"๐","card_file_box":"๐","card_index":"๐","card_index_dividers":"๐","caribbean_netherlands":"๐ง๐ถ","carousel_horse":"๐ ","carrot":"๐ฅ","cartwheeling":"๐คธ","cat":"๐ฑ","cat2":"๐","cayman_islands":"๐ฐ๐พ","cd":"๐ฟ","central_african_republic":"๐จ๐ซ","ceuta_melilla":"๐ช๐ฆ","chad":"๐น๐ฉ","chains":"โ","chair":"๐ช","champagne":"๐พ","chart":"๐น","chart_with_downwards_trend":"๐","chart_with_upwards_tren":"๐","chart_with_upwards_trend":"๐","checkered_flag":"๐","cheese":"๐ง","cherries":"๐","cherry_blossom":"๐ธ","chess_pawn":"โ","chestnut":"๐ฐ","chicken":"๐","child":"๐ง","children_crossin":"๐ธ","children_crossing":"๐ธ","chile":"๐จ๐ฑ","chipmunk":"๐ฟ","chocolate_bar":"๐ซ","chopsticks":"๐ฅข","christmas_island":"๐จ๐ฝ","christmas_tree":"๐","church":"โช","cinema":"๐ฆ","circus_tent":"๐ช","city_sunrise":"๐","city_sunset":"๐","cityscape":"๐","cl":"๐","clamp":"๐","clap":"๐","clapper":"๐ฌ","classical_building":"๐","climbing":"๐ง","climbing_man":"๐งโโ๏ธ","climbing_woman":"๐งโโ๏ธ","clinking_glasses":"๐ฅ","clipboard":"๐","clipperton_island":"๐จ๐ต","clock1":"๐","clock10":"๐","clock1030":"๐ฅ","clock11":"๐","clock1130":"๐ฆ","clock12":"๐","clock1230":"๐ง","clock130":"๐","clock2":"๐","clock230":"๐","clock3":"๐","clock330":"๐","clock4":"๐","clock430":"๐","clock5":"๐","clock530":"๐ ","clock6":"๐","clock630":"๐ก","clock7":"๐","clock730":"๐ข","clock8":"๐","clock830":"๐ฃ","clock9":"๐","clock930":"๐ค","closed_book":"๐","closed_lock_with_key":"๐","closed_umbrella":"๐","cloud":"โ","cloud_with_lightning":"๐ฉ","cloud_with_lightning_and_rain":"โ","cloud_with_rain":"๐ง","cloud_with_snow":"๐จ","clown_fac":"๐คก","clown_face":"๐คก","clubs":"โฃ","cn":"๐จ๐ณ","coat":"๐งฅ","cocktail":"๐ธ","coconut":"๐ฅฅ","cocos_islands":"๐จ๐จ","coffee":"โ","coffin":"โฐ","cold_face":"๐ฅถ","cold_sweat":"๐ฐ","collision":"๐ฅ","colombia":"๐จ๐ด","comet":"โ","comoros":"๐ฐ๐ฒ","compass":"๐งญ","computer":"๐ป","computer_mouse":"๐ฑ","confetti_ball":"๐","confounded":"๐","confused":"๐","congo_brazzaville":"๐จ๐ฌ","congo_kinshasa":"๐จ๐ฉ","congratulations":"ใ","constructio":"๐ง","construction":"๐ง","construction_worke":"๐ท","construction_worker":"๐ท","construction_worker_man":"๐ทโโ๏ธ","construction_worker_woman":"๐ทโโ๏ธ","control_knobs":"๐","convenience_store":"๐ช","cook":"๐งโ๐ณ","cook_islands":"๐จ๐ฐ","cookie":"๐ช","cool":"๐","cop":"๐ฎ","copyright":"ยฉ","corn":"๐ฝ","costa_rica":"๐จ๐ท","cote_divoire":"๐จ๐ฎ","couch_and_lamp":"๐","couple":"๐ซ","couple_with_heart":"๐","couple_with_heart_man_man":"๐จโโค๏ธโ๐จ","couple_with_heart_woman_man":"๐ฉโโค๏ธโ๐จ","couple_with_heart_woman_woman":"๐ฉโโค๏ธโ๐ฉ","couplekiss":"๐","couplekiss_man_man":"๐จโโค๏ธโ๐โ๐จ","couplekiss_man_woman":"๐ฉโโค๏ธโ๐โ๐จ","couplekiss_woman_woman":"๐ฉโโค๏ธโ๐โ๐ฉ","cow":"๐ฎ","cow2":"๐","cowboy_hat_face":"๐ค ","crab":"๐ฆ","crayon":"๐","credit_card":"๐ณ","crescent_moon":"๐","cricket":"๐ฆ","cricket_game":"๐","croatia":"๐ญ๐ท","crocodile":"๐","croissant":"๐ฅ","crossed_fingers":"๐ค","crossed_flags":"๐","crossed_swords":"โ","crown":"๐","cry":"๐ข","crying_cat_face":"๐ฟ","crystal_ball":"๐ฎ","cuba":"๐จ๐บ","cucumber":"๐ฅ","cup_with_straw":"๐ฅค","cupcake":"๐ง","cupid":"๐","curacao":"๐จ๐ผ","curling_stone":"๐ฅ","curly_haired_man":"๐จโ๐ฆฑ","curly_haired_woman":"๐ฉโ๐ฆฑ","curly_loop":"โฐ","currency_exchange":"๐ฑ","curry":"๐","cursing_face":"๐คฌ","custard":"๐ฎ","customs":"๐","cut_of_meat":"๐ฅฉ","cyclone":"๐","cyprus":"๐จ๐พ","czech_republic":"๐จ๐ฟ","dagger":"๐ก","dancer":"๐","dancers":"๐ฏ","dancing_men":"๐ฏโโ๏ธ","dancing_women":"๐ฏโโ๏ธ","dango":"๐ก","dark_sunglasses":"๐ถ","dart":"๐ฏ","dash":"๐จ","date":"๐
","de":"๐ฉ๐ช","deaf_man":"๐งโโ๏ธ","deaf_person":"๐ง","deaf_woman":"๐งโโ๏ธ","deciduous_tree":"๐ณ","deer":"๐ฆ","denmark":"๐ฉ๐ฐ","department_store":"๐ฌ","derelict_house":"๐","desert":"๐","desert_island":"๐","desktop_computer":"๐ฅ","detective":"๐ต","diamond_shape_with_a_dot_inside":"๐ ","diamonds":"โฆ","diego_garcia":"๐ฉ๐ฌ","disappointed":"๐","disappointed_relieved":"๐ฅ","diving_mask":"๐คฟ","diya_lamp":"๐ช","dizz":"๐ซ","dizzy":"๐ซ","dizzy_face":"๐ต","djibouti":"๐ฉ๐ฏ","dna":"๐งฌ","do_not_litter":"๐ฏ","dog":"๐ถ","dog2":"๐","dollar":"๐ต","dolls":"๐","dolphin":"๐ฌ","dominica":"๐ฉ๐ฒ","dominican_republic":"๐ฉ๐ด","door":"๐ช","doughnut":"๐ฉ","dove":"๐","dragon":"๐","dragon_face":"๐ฒ","dress":"๐","dromedary_camel":"๐ช","drooling_face":"๐คค","drop_of_blood":"๐ฉธ","droplet":"๐ง","drum":"๐ฅ","duck":"๐ฆ","dumpling":"๐ฅ","dvd":"๐","e-mail":"๐ง","eagle":"๐ฆ
","ear":"๐","ear_of_rice":"๐พ","ear_with_hearing_aid":"๐ฆป","earth_africa":"๐","earth_americas":"๐","earth_asia":"๐","ecuador":"๐ช๐จ","eg":"๐ฅ","egg":"๐ฅ","eggplant":"๐","egypt":"๐ช๐ฌ","eight":"8๏ธโฃ","eight_pointed_black_star":"โด","eight_spoked_asterisk":"โณ","eject_button":"โ","el_salvador":"๐ธ๐ป","electric_plug":"๐","elephant":"๐","elf":"๐ง","elf_man":"๐งโโ๏ธ","elf_woman":"๐งโโ๏ธ","email":"โ","end":"๐","england":"๐ด๓ ง๓ ข๓ ฅ๓ ฎ๓ ง๓ ฟ","envelope":"โ","envelope_with_arrow":"๐ฉ","equatorial_guinea":"๐ฌ๐ถ","eritrea":"๐ช๐ท","es":"๐ช๐ธ","estonia":"๐ช๐ช","ethiopia":"๐ช๐น","eu":"๐ช๐บ","euro":"๐ถ","european_castle":"๐ฐ","european_post_office":"๐ค","european_union":"๐ช๐บ","evergreen_tree":"๐ฒ","exclamation":"โ","exploding_head":"๐คฏ","expressionless":"๐","eye":"๐","eye_speech_bubble":"๐๏ธโ๐จ๏ธ","eyeglasses":"๐","eyes":"๐","face_with_head_bandage":"๐ค","face_with_thermometer":"๐ค","facepalm":"๐คฆ","facepunch":"๐","factory":"๐ญ","factory_worker":"๐งโ๐ญ","fairy":"๐ง","fairy_man":"๐งโโ๏ธ","fairy_woman":"๐งโโ๏ธ","falafel":"๐ง","falkland_islands":"๐ซ๐ฐ","fallen_leaf":"๐","family":"๐ช","family_man_boy":"๐จโ๐ฆ","family_man_boy_boy":"๐จโ๐ฆโ๐ฆ","family_man_girl":"๐จโ๐ง","family_man_girl_boy":"๐จโ๐งโ๐ฆ","family_man_girl_girl":"๐จโ๐งโ๐ง","family_man_man_boy":"๐จโ๐จโ๐ฆ","family_man_man_boy_boy":"๐จโ๐จโ๐ฆโ๐ฆ","family_man_man_girl":"๐จโ๐จโ๐ง","family_man_man_girl_boy":"๐จโ๐จโ๐งโ๐ฆ","family_man_man_girl_girl":"๐จโ๐จโ๐งโ๐ง","family_man_woman_boy":"๐จโ๐ฉโ๐ฆ","family_man_woman_boy_boy":"๐จโ๐ฉโ๐ฆโ๐ฆ","family_man_woman_girl":"๐จโ๐ฉโ๐ง","family_man_woman_girl_boy":"๐จโ๐ฉโ๐งโ๐ฆ","family_man_woman_girl_girl":"๐จโ๐ฉโ๐งโ๐ง","family_woman_boy":"๐ฉโ๐ฆ","family_woman_boy_boy":"๐ฉโ๐ฆโ๐ฆ","family_woman_girl":"๐ฉโ๐ง","family_woman_girl_boy":"๐ฉโ๐งโ๐ฆ","family_woman_girl_girl":"๐ฉโ๐งโ๐ง","family_woman_woman_boy":"๐ฉโ๐ฉโ๐ฆ","family_woman_woman_boy_boy":"๐ฉโ๐ฉโ๐ฆโ๐ฆ","family_woman_woman_girl":"๐ฉโ๐ฉโ๐ง","family_woman_woman_girl_boy":"๐ฉโ๐ฉโ๐งโ๐ฆ","family_woman_woman_girl_girl":"๐ฉโ๐ฉโ๐งโ๐ง","farmer":"๐งโ๐พ","faroe_islands":"๐ซ๐ด","fast_forward":"โฉ","fax":"๐ ","fearful":"๐จ","feet":"๐พ","female_detective":"๐ต๏ธโโ๏ธ","female_sign":"โ","ferris_wheel":"๐ก","ferry":"โด","field_hockey":"๐","fiji":"๐ซ๐ฏ","file_cabinet":"๐","file_folder":"๐","film_projector":"๐ฝ","film_strip":"๐","finland":"๐ซ๐ฎ","fir":"๐ฅ","fire":"๐ฅ","fire_engine":"๐","fire_extinguisher":"๐งฏ","firecracker":"๐งจ","firefighter":"๐งโ๐","fireworks":"๐","first_quarter_moon":"๐","first_quarter_moon_with_face":"๐","fish":"๐","fish_cake":"๐ฅ","fishing_pole_and_fish":"๐ฃ","fist":"โ","fist_left":"๐ค","fist_oncoming":"๐","fist_raised":"โ","fist_right":"๐ค","five":"5๏ธโฃ","flags":"๐","flamingo":"๐ฆฉ","flashlight":"๐ฆ","flat_shoe":"๐ฅฟ","fleur_de_lis":"โ","flight_arrival":"๐ฌ","flight_departure":"๐ซ","flipper":"๐ฌ","floppy_disk":"๐พ","flower_playing_cards":"๐ด","flushed":"๐ณ","flying_disc":"๐ฅ","flying_saucer":"๐ธ","fog":"๐ซ","foggy":"๐","foot":"๐ฆถ","football":"๐","footprints":"๐ฃ","fork_and_knife":"๐ด","fortune_cookie":"๐ฅ ","fountain":"โฒ","fountain_pen":"๐","four":"4๏ธโฃ","four_leaf_clover":"๐","fox_face":"๐ฆ","fr":"๐ซ๐ท","framed_picture":"๐ผ","free":"๐","french_guiana":"๐ฌ๐ซ","french_polynesia":"๐ต๐ซ","french_southern_territories":"๐น๐ซ","fried_egg":"๐ณ","fried_shrimp":"๐ค","fries":"๐","frog":"๐ธ","frowning":"๐ฆ","frowning_face":"โน","frowning_man":"๐โโ๏ธ","frowning_person":"๐","frowning_woman":"๐โโ๏ธ","fu":"๐","fuelpump":"โฝ","full_moon":"๐","full_moon_with_face":"๐","funeral_urn":"โฑ","gabon":"๐ฌ๐ฆ","gambia":"๐ฌ๐ฒ","game_die":"๐ฒ","garlic":"๐ง","gb":"๐ฌ๐ง","gear":"โ","gem":"๐","gemini":"โ","genie":"๐ง","genie_man":"๐งโโ๏ธ","genie_woman":"๐งโโ๏ธ","georgia":"๐ฌ๐ช","ghana":"๐ฌ๐ญ","ghost":"๐ป","gibraltar":"๐ฌ๐ฎ","gift":"๐","gift_heart":"๐","giraffe":"๐ฆ","girl":"๐ง","globe_with_meridian":"๐","globe_with_meridians":"๐","gloves":"๐งค","goal_ne":"๐ฅ
","goal_net":"๐ฅ
","goat":"๐","goggles":"๐ฅฝ","golf":"โณ","golfing":"๐","golfing_man":"๐๏ธโโ๏ธ","golfing_woman":"๐๏ธโโ๏ธ","gorilla":"๐ฆ","grapes":"๐","greece":"๐ฌ๐ท","green_apple":"๐","green_book":"๐","green_circle":"๐ข","green_hear":"๐","green_heart":"๐","green_salad":"๐ฅ","green_square":"๐ฉ","greenland":"๐ฌ๐ฑ","grenada":"๐ฌ๐ฉ","grey_exclamation":"โ","grey_question":"โ","grimacing":"๐ฌ","grin":"๐","grinning":"๐","guadeloupe":"๐ฌ๐ต","guam":"๐ฌ๐บ","guard":"๐","guardsman":"๐โโ๏ธ","guardswoman":"๐โโ๏ธ","guatemala":"๐ฌ๐น","guernsey":"๐ฌ๐ฌ","guide_dog":"๐ฆฎ","guinea":"๐ฌ๐ณ","guinea_bissau":"๐ฌ๐ผ","guitar":"๐ธ","gun":"๐ซ","guyana":"๐ฌ๐พ","haircut":"๐","haircut_man":"๐โโ๏ธ","haircut_woman":"๐โโ๏ธ","haiti":"๐ญ๐น","hamburger":"๐","hamme":"๐จ","hammer":"๐จ","hammer_and_pick":"โ","hammer_and_wrench":"๐ ","hamster":"๐น","hand":"โ","hand_over_mouth":"๐คญ","handbag":"๐","handball_person":"๐คพ","handshake":"๐ค","hankey":"๐ฉ","hash":"#๏ธโฃ","hatched_chick":"๐ฅ","hatching_chick":"๐ฃ","headphones":"๐ง","health_worker":"๐งโโ๏ธ","hear_no_evil":"๐","heard_mcdonald_islands":"๐ญ๐ฒ","heart":"โค","heart_decoration":"๐","heart_eyes":"๐","heart_eyes_cat":"๐ป","heartbeat":"๐","heartpulse":"๐","hearts":"โฅ","heavy_check_mark":"โ","heavy_division_sign":"โ","heavy_dollar_sign":"๐ฒ","heavy_exclamation_mark":"โ","heavy_heart_exclamation":"โฃ","heavy_minus_sig":"โ","heavy_minus_sign":"โ","heavy_multiplication_x":"โ","heavy_plus_sig":"โ","heavy_plus_sign":"โ","hedgehog":"๐ฆ","helicopter":"๐","herb":"๐ฟ","hibiscus":"๐บ","high_brightness":"๐","high_heel":"๐ ","hiking_boot":"๐ฅพ","hindu_temple":"๐","hippopotamus":"๐ฆ","hocho":"๐ช","hole":"๐ณ","honduras":"๐ญ๐ณ","honey_pot":"๐ฏ","honeybee":"๐","hong_kong":"๐ญ๐ฐ","horse":"๐ด","horse_racing":"๐","hospital":"๐ฅ","hot_face":"๐ฅต","hot_pepper":"๐ถ","hotdog":"๐ญ","hotel":"๐จ","hotsprings":"โจ","hourglass":"โ","hourglass_flowing_sand":"โณ","house":"๐ ","house_with_garden":"๐ก","houses":"๐","hugs":"๐ค","hungary":"๐ญ๐บ","hushed":"๐ฏ","ice_cream":"๐จ","ice_cube":"๐ง","ice_hockey":"๐","ice_skate":"โธ","icecream":"๐ฆ","iceland":"๐ฎ๐ธ","id":"๐","ideograph_advantage":"๐","imp":"๐ฟ","inbox_tray":"๐ฅ","incoming_envelope":"๐จ","india":"๐ฎ๐ณ","indonesia":"๐ฎ๐ฉ","infinity":"โพ","information_desk_person":"๐","information_source":"โน","innocent":"๐","interrobang":"โ","iphon":"๐ฑ","iphone":"๐ฑ","iran":"๐ฎ๐ท","iraq":"๐ฎ๐ถ","ireland":"๐ฎ๐ช","isle_of_man":"๐ฎ๐ฒ","israel":"๐ฎ๐ฑ","it":"๐ฎ๐น","izakaya_lantern":"๐ฎ","jack_o_lantern":"๐","jamaica":"๐ฏ๐ฒ","japan":"๐พ","japanese_castle":"๐ฏ","japanese_goblin":"๐บ","japanese_ogre":"๐น","jeans":"๐","jersey":"๐ฏ๐ช","jigsaw":"๐งฉ","jordan":"๐ฏ๐ด","joy":"๐","joy_cat":"๐น","joystick":"๐น","jp":"๐ฏ๐ต","judge":"๐งโโ๏ธ","juggling_person":"๐คน","kaaba":"๐","kangaroo":"๐ฆ","kazakhstan":"๐ฐ๐ฟ","kenya":"๐ฐ๐ช","key":"๐","keyboard":"โจ","keycap_ten":"๐","kick_scooter":"๐ด","kimono":"๐","kiribati":"๐ฐ๐ฎ","kiss":"๐","kissing":"๐","kissing_cat":"๐ฝ","kissing_closed_eyes":"๐","kissing_heart":"๐","kissing_smiling_eyes":"๐","kite":"๐ช","kiwi_fruit":"๐ฅ","kneeling_man":"๐งโโ๏ธ","kneeling_person":"๐ง","kneeling_woman":"๐งโโ๏ธ","knife":"๐ช","koala":"๐จ","koko":"๐","kosovo":"๐ฝ๐ฐ","kr":"๐ฐ๐ท","kuwait":"๐ฐ๐ผ","kyrgyzstan":"๐ฐ๐ฌ","lab_coat":"๐ฅผ","labe":"๐ท๏ธ","label":"๐ท","lacrosse":"๐ฅ","lantern":"๐ฎ","laos":"๐ฑ๐ฆ","large_blue_circle":"๐ต","large_blue_diamond":"๐ท","large_orange_diamond":"๐ถ","last_quarter_moon":"๐","last_quarter_moon_with_face":"๐","latin_cross":"โ","latvia":"๐ฑ๐ป","laughing":"๐","leafy_green":"๐ฅฌ","leaves":"๐","lebanon":"๐ฑ๐ง","ledger":"๐","left_luggage":"๐
","left_right_arrow":"โ","left_speech_bubble":"๐จ","leftwards_arrow_with_hook":"โฉ","leg":"๐ฆต","lemon":"๐","leo":"โ","leopard":"๐","lesotho":"๐ฑ๐ธ","level_slider":"๐","liberia":"๐ฑ๐ท","libra":"โ","libya":"๐ฑ๐พ","liechtenstein":"๐ฑ๐ฎ","light_rail":"๐","link":"๐","lion":"๐ฆ","lips":"๐","lipstic":"๐","lipstick":"๐","lithuania":"๐ฑ๐น","lizard":"๐ฆ","llama":"๐ฆ","lobster":"๐ฆ","loc":"๐","lock":"๐","lock_with_ink_pen":"๐","lollipop":"๐ญ","loop":"โฟ","lotion_bottle":"๐งด","lotus_position":"๐ง","lotus_position_man":"๐งโโ๏ธ","lotus_position_woman":"๐งโโ๏ธ","loud_soun":"๐","loud_sound":"๐","loudspeaker":"๐ข","love_hotel":"๐ฉ","love_letter":"๐","love_you_gesture":"๐ค","low_brightness":"๐
","luggage":"๐งณ","luxembourg":"๐ฑ๐บ","lying_face":"๐คฅ","m":"โ","ma":"๐","macau":"๐ฒ๐ด","macedonia":"๐ฒ๐ฐ","madagascar":"๐ฒ๐ฌ","mag":"๐","mag_right":"๐","mage":"๐ง","mage_man":"๐งโโ๏ธ","mage_woman":"๐งโโ๏ธ","magnet":"๐งฒ","mahjong":"๐","mailbox":"๐ซ","mailbox_closed":"๐ช","mailbox_with_mail":"๐ฌ","mailbox_with_no_mail":"๐ญ","malawi":"๐ฒ๐ผ","malaysia":"๐ฒ๐พ","maldives":"๐ฒ๐ป","male_detective":"๐ต๏ธโโ๏ธ","male_sign":"โ","mali":"๐ฒ๏ฟฝ๏ฟฝ","malta":"๐ฒ๐น","man":"๐จ","man_artist":"๐จโ๐จ","man_astronaut":"๐จโ๐","man_cartwheeling":"๐คธโโ๏ธ","man_cook":"๐จโ๐ณ","man_dancing":"๐บ","man_facepalming":"๐คฆโโ๏ธ","man_factory_worker":"๐จโ๐ญ","man_farmer":"๐จโ๐พ","man_firefighter":"๐จโ๐","man_health_worker":"๐จโโ๏ธ","man_in_manual_wheelchair":"๐จโ๐ฆฝ","man_in_motorized_wheelchair":"๐จโ๐ฆผ","man_in_tuxedo":"๐คต","man_judge":"๐จโโ๏ธ","man_juggling":"๐คนโโ๏ธ","man_mechanic":"๐จโ๐ง","man_office_worker":"๐จโ๐ผ","man_pilot":"๐จโโ๏ธ","man_playing_handball":"๐คพโโ๏ธ","man_playing_water_polo":"๐คฝโโ๏ธ","man_scientist":"๐จโ๐ฌ","man_shrugging":"๐คทโโ๏ธ","man_singer":"๐จโ๐ค","man_student":"๐จโ๐","man_teacher":"๐จโ๐ซ","man_technologist":"๐จโ๐ป","man_with_gua_pi_mao":"๐ฒ","man_with_probing_cane":"๐จโ๐ฆฏ","man_with_turban":"๐ณโโ๏ธ","mandarin":"๐","mango":"๐ฅญ","mans_shoe":"๐","mantelpiece_clock":"๐ฐ","manual_wheelchair":"๐ฆฝ","maple_leaf":"๐","marshall_islands":"๐ฒ๐ญ","martial_arts_uniform":"๐ฅ","martinique":"๐ฒ๐ถ","mask":"๐ท","massage":"๐","massage_man":"๐โโ๏ธ","massage_woman":"๐โโ๏ธ","mate":"๐ง","mauritania":"๐ฒ๐ท","mauritius":"๐ฒ๐บ","mayotte":"๐พ๐น","meat_on_bone":"๐","mechanic":"๐งโ๐ง","mechanical_arm":"๐ฆพ","mechanical_leg":"๐ฆฟ","medal_military":"๐","medal_sports":"๐
","medical_symbol":"โ","mega":"๐ฃ","melon":"๐","mem":"๐","memo":"๐","men_wrestling":"๐คผโโ๏ธ","menorah":"๐","mens":"๐น","mermaid":"๐งโโ๏ธ","merman":"๐งโโ๏ธ","merperson":"๐ง","metal":"๐ค","metro":"๐","mexico":"๐ฒ๐ฝ","microbe":"๐ฆ ","micronesia":"๐ซ๐ฒ","microphone":"๐ค","microscope":"๐ฌ","middle_finger":"๐","milk_glass":"๐ฅ","milky_way":"๐","minibus":"๐","minidisc":"๐ฝ","mobile_phone_off":"๐ด","moldova":"๐ฒ๐ฉ","monaco":"๐ฒ๐จ","money_mouth_face":"๐ค","money_with_wings":"๐ธ","moneybag":"๐ฐ","mongolia":"๐ฒ๐ณ","monkey":"๐","monkey_face":"๐ต","monocle_face":"๐ง","monorail":"๐","montenegro":"๐ฒ๐ช","montserrat":"๐ฒ๐ธ","moon":"๐","moon_cake":"๐ฅฎ","morocco":"๐ฒ๐ฆ","mortar_board":"๐","mosque":"๐","mosquito":"๐ฆ","motor_boat":"๐ฅ","motor_scooter":"๐ต","motorcycle":"๐","motorized_wheelchair":"๐ฆผ","motorway":"๐ฃ","mount_fuji":"๐ป","mountain":"โฐ","mountain_bicyclist":"๐ต","mountain_biking_man":"๐ตโโ๏ธ","mountain_biking_woman":"๐ตโโ๏ธ","mountain_cableway":"๐ ","mountain_railway":"๐","mountain_snow":"๐","mouse":"๐ญ","mouse2":"๐","movie_camera":"๐ฅ","moyai":"๐ฟ","mozambique":"๐ฒ๐ฟ","mrs_claus":"๐คถ","muscle":"๐ช","mushroom":"๐","musical_keyboard":"๐น","musical_note":"๐ต","musical_score":"๐ผ","mut":"๐","mute":"๐","myanmar":"๐ฒ๐ฒ","nail_care":"๐
","name_badge":"๐","namibia":"๐ณ๐ฆ","national_park":"๐","nauru":"๐ณ๐ท","nauseated_face":"๐คข","nazar_amulet":"๐งฟ","necktie":"๐","negative_squared_cross_mark":"โ","nepal":"๐ณ๐ต","nerd_face":"๐ค","netherlands":"๐ณ๐ฑ","neutral_face":"๐","new":"๐","new_caledonia":"๐ณ๐จ","new_moon":"๐","new_moon_with_face":"๐","new_zealand":"๐ณ๐ฟ","newspaper":"๐ฐ","newspaper_roll":"๐","next_track_button":"โญ","ng":"๐","ng_man":"๐
โโ๏ธ","ng_woman":"๐
โโ๏ธ","nicaragua":"๐ณ๐ฎ","niger":"๐ณ๐ช","nigeria":"๐ณ๐ฌ","night_with_stars":"๐","nine":"9๏ธโฃ","niue":"๐ณ๐บ","no_bell":"๐","no_bicycles":"๐ณ","no_entry":"โ","no_entry_sign":"๐ซ","no_good":"๐
","no_good_man":"๐
โโ๏ธ","no_good_woman":"๐
โโ๏ธ","no_mobile_phones":"๐ต","no_mouth":"๐ถ","no_pedestrians":"๐ท","no_smoking":"๐ญ","non-potable_water":"๐ฑ","norfolk_island":"๐ณ๐ซ","north_korea":"๐ฐ๐ต","northern_mariana_islands":"๐ฒ๐ต","norway":"๐ณ๐ด","nose":"๐","notebook":"๐","notebook_with_decorative_cover":"๐","notes":"๐ถ","nut_and_bolt":"๐ฉ","o":"โญ","o2":"๐
พ","ocean":"๐","octopus":"๐","oden":"๐ข","office":"๐ข","office_worker":"๐งโ๐ผ","oil_drum":"๐ข","ok":"๐","ok_hand":"๐","ok_man":"๐โโ๏ธ","ok_person":"๐","ok_woman":"๐โโ๏ธ","old_key":"๐","older_adult":"๐ง","older_man":"๐ด","older_woman":"๐ต","om":"๐","oman":"๐ด๐ฒ","on":"๐","oncoming_automobile":"๐","oncoming_bus":"๐","oncoming_police_car":"๐","oncoming_taxi":"๐","one":"1๏ธโฃ","one_piece_swimsuit":"๐ฉฑ","onion":"๐ง
","open_book":"๐","open_file_folder":"๐","open_hands":"๐","open_mouth":"๐ฎ","open_umbrella":"โ","ophiuchus":"โ","orange":"๐","orange_book":"๐","orange_circle":"๐ ","orange_heart":"๐งก","orange_square":"๐ง","orangutan":"๐ฆง","orthodox_cross":"โฆ","otter":"๐ฆฆ","outbox_tray":"๐ค","owl":"๐ฆ","ox":"๐","oyster":"๐ฆช","packag":"๐ฆ","package":"๐ฆ","page_facing_u":"๐","page_facing_up":"๐","page_with_curl":"๐","pager":"๐","paintbrush":"๐","pakistan":"๐ต๐ฐ","palau":"๐ต๐ผ","palestinian_territories":"๐ต๐ธ","palm_tree":"๐ด","palms_up_together":"๐คฒ","panama":"๐ต๐ฆ","pancakes":"๐ฅ","panda_face":"๐ผ","paperclip":"๐","paperclips":"๐","papua_new_guinea":"๐ต๐ฌ","parachute":"๐ช","paraguay":"๐ต๐พ","parasol_on_ground":"โฑ","parking":"๐
ฟ","parrot":"๐ฆ","part_alternation_mark":"ใฝ","partly_sunny":"โ
","partying_face":"๐ฅณ","passenger_ship":"๐ณ","passport_control":"๐","pause_button":"โธ","paw_prints":"๐พ","peace_symbol":"โฎ","peach":"๐","peacock":"๐ฆ","peanuts":"๐ฅ","pear":"๐","pen":"๐","pencil":"๐","pencil2":"โ","penguin":"๐ง","pensive":"๐","people_holding_hands":"๐งโ๐คโ๐ง","performing_arts":"๐ญ","persevere":"๐ฃ","person_bald":"๐งโ๐ฆฒ","person_curly_hair":"๐งโ๐ฆฑ","person_fencing":"๐คบ","person_in_manual_wheelchair":"๐งโ๐ฆฝ","person_in_motorized_wheelchair":"๐งโ๐ฆผ","person_red_hair":"๐งโ๐ฆฐ","person_white_hair":"๐งโ๐ฆณ","person_with_probing_cane":"๐งโ๐ฆฏ","person_with_turban":"๐ณ","peru":"๐ต๐ช","petri_dish":"๐งซ","philippines":"๐ต๐ญ","phone":"โ","pick":"โ","pie":"๐ฅง","pig":"๐ท","pig2":"๐","pig_nose":"๐ฝ","pill":"๐","pilot":"๐งโโ๏ธ","pinching_hand":"๐ค","pineapple":"๐","ping_pong":"๐","pirate_flag":"๐ดโโ ๏ธ","pisces":"โ","pitcairn_islands":"๐ต๐ณ","pizza":"๐","place_of_worship":"๐","plate_with_cutlery":"๐ฝ","play_or_pause_button":"โฏ","pleading_face":"๐ฅบ","point_down":"๐","point_left":"๐","point_right":"๐","point_up":"โ","point_up_2":"๐","poland":"๐ต๐ฑ","police_car":"๐","police_officer":"๐ฎ","policeman":"๐ฎโโ๏ธ","policewoman":"๐ฎโโ๏ธ","poo":"๐ฉ","poodle":"๐ฉ","poop":"๐ฉ","popcorn":"๐ฟ","portugal":"๐ต๐น","post_office":"๐ฃ","postal_horn":"๐ฏ","postbox":"๐ฎ","potable_water":"๐ฐ","potato":"๐ฅ","pouch":"๐","poultry_leg":"๐","pound":"๐ท","pout":"๐ก","pouting_cat":"๐พ","pouting_face":"๐","pouting_man":"๐โโ๏ธ","pouting_woman":"๐โโ๏ธ","pray":"๐","prayer_beads":"๐ฟ","pregnant_woman":"๐คฐ","pretzel":"๐ฅจ","previous_track_button":"โฎ","prince":"๐คด","princess":"๐ธ","printer":"๐จ","probing_cane":"๐ฆฏ","puerto_rico":"๐ต๐ท","punch":"๐","purple_circle":"๐ฃ","purple_heart":"๐","purple_square":"๐ช","purse":"๐","pushpi":"๐","pushpin":"๐","put_litter_in_its_place":"๐ฎ","qatar":"๐ถ๐ฆ","question":"โ","rabbit":"๐ฐ","rabbit2":"๐","raccoon":"๐ฆ","racehorse":"๐","racing_car":"๐","radio":"๐ป","radio_button":"๐","radioactive":"โข","rage":"๐ก","railway_car":"๐","railway_track":"๐ค","rainbow":"๐","rainbow_flag":"๐ณ๏ธโ๐","raised_back_of_hand":"๐ค","raised_eyebrow":"๐คจ","raised_hand":"โ","raised_hand_with_fingers_splayed":"๐","raised_hands":"๐","raising_hand":"๐","raising_hand_man":"๐โโ๏ธ","raising_hand_woman":"๐โโ๏ธ","ram":"๐","ramen":"๐","rat":"๐","razor":"๐ช","receipt":"๐งพ","record_button":"โบ","recycl":"โป๏ธ","recycle":"โป","red_car":"๐","red_circle":"๐ด","red_envelope":"๐งง","red_haired_man":"๐จโ๐ฆฐ","red_haired_woman":"๐ฉโ๐ฆฐ","red_square":"๐ฅ","registered":"ยฎ","relaxed":"โบ","relieved":"๐","reminder_ribbon":"๐","repeat":"๐","repeat_one":"๐","rescue_worker_helmet":"โ","restroom":"๐ป","reunion":"๐ท๐ช","revolving_hearts":"๐","rewin":"โช","rewind":"โช","rhinoceros":"๐ฆ","ribbon":"๐","rice":"๐","rice_ball":"๐","rice_cracker":"๐","rice_scene":"๐","right_anger_bubble":"๐ฏ","ring":"๐","ringed_planet":"๐ช","robot":"๐ค","rocke":"๐","rocket":"๐","rofl":"๐คฃ","roll_eyes":"๐","roll_of_paper":"๐งป","roller_coaster":"๐ข","romania":"๐ท๐ด","rooster":"๐","rose":"๐น","rosette":"๐ต","rotating_ligh":"๐จ","rotating_light":"๐จ","round_pushpin":"๐","rowboat":"๐ฃ","rowing_man":"๐ฃโโ๏ธ","rowing_woman":"๐ฃโโ๏ธ","ru":"๐ท๐บ","rugby_football":"๐","runner":"๐","running":"๐","running_man":"๐โโ๏ธ","running_shirt_with_sash":"๐ฝ","running_woman":"๐โโ๏ธ","rwanda":"๐ท๐ผ","sa":"๐","safety_pin":"๐งท","safety_vest":"๐ฆบ","sagittarius":"โ","sailboat":"โต","sake":"๐ถ","salt":"๐ง","samoa":"๐ผ๐ธ","san_marino":"๐ธ๐ฒ","sandal":"๐ก","sandwich":"๐ฅช","santa":"๐
","sao_tome_principe":"๐ธ๐น","sari":"๐ฅป","sassy_man":"๐โโ๏ธ","sassy_woman":"๐โโ๏ธ","satellite":"๐ก","satisfied":"๐","saudi_arabia":"๐ธ๐ฆ","sauna_man":"๐งโโ๏ธ","sauna_person":"๐ง","sauna_woman":"๐งโโ๏ธ","sauropod":"๐ฆ","saxophone":"๐ท","scarf":"๐งฃ","school":"๐ซ","school_satchel":"๐","scientist":"๐งโ๐ฌ","scissors":"โ","scorpion":"๐ฆ","scorpius":"โ","scotland":"๐ด๓ ง๓ ข๓ ณ๓ ฃ๓ ด๓ ฟ","scream":"๐ฑ","scream_cat":"๐","scroll":"๐","seat":"๐บ","secret":"ใ","see_no_evi":"๐","see_no_evil":"๐","seedlin":"๐ฑ","seedling":"๐ฑ","selfie":"๐คณ","senegal":"๐ธ๐ณ","serbia":"๐ท๐ธ","service_dog":"๐โ๐ฆบ","seven":"7๏ธโฃ","seychelles":"๐ธ๐จ","shallow_pan_of_food":"๐ฅ","shamrock":"โ","shark":"๐ฆ","shaved_ice":"๐ง","sheep":"๐","shell":"๐","shield":"๐ก","shinto_shrine":"โฉ","ship":"๐ข","shirt":"๐","shit":"๐ฉ","shoe":"๐","shopping":"๐","shopping_cart":"๐","shorts":"๐ฉณ","shower":"๐ฟ","shrimp":"๐ฆ","shrug":"๐คท","shushing_face":"๐คซ","sierra_leone":"๐ธ๐ฑ","signal_strength":"๐ถ","singapore":"๐ธ๐ฌ","singer":"๐งโ๐ค","sint_maarten":"๐ธ๐ฝ","six":"6๏ธโฃ","six_pointed_star":"๐ฏ","skateboard":"๐น","ski":"๐ฟ","skier":"โท","skull":"๐","skull_and_crossbones":"โ ","skunk":"๐ฆจ","sled":"๐ท","sleeping":"๐ด","sleeping_bed":"๐","sleepy":"๐ช","slightly_frowning_face":"๐","slightly_smiling_face":"๐","slot_machine":"๐ฐ","sloth":"๐ฆฅ","slovakia":"๐ธ๐ฐ","slovenia":"๐ธ๐ฎ","small_airplane":"๐ฉ","small_blue_diamond":"๐น","small_orange_diamond":"๐ธ","small_red_triangle":"๐บ","small_red_triangle_down":"๐ป","smile":"๐","smile_cat":"๐ธ","smiley":"๐","smiley_cat":"๐บ","smiling_face_with_three_hearts":"๐ฅฐ","smiling_imp":"๐","smirk":"๐","smirk_cat":"๐ผ","smoking":"๐ฌ","snail":"๐","snake":"๐","sneezing_face":"๐คง","snowboarder":"๐","snowflake":"โ","snowman":"โ","snowman_with_snow":"โ","soap":"๐งผ","sob":"๐ญ","soccer":"โฝ","socks":"๐งฆ","softball":"๐ฅ","solomon_islands":"๐ธ๐ง","somalia":"๐ธ๐ด","soon":"๐","sos":"๐","sound":"๐","south_africa":"๐ฟ๐ฆ","south_georgia_south_sandwich_islands":"๐ฌ๐ธ","south_sudan":"๐ธ๐ธ","space_invader":"๐พ","spades":"โ ","spaghetti":"๐","sparkle":"โ","sparkler":"๐","sparkles":"โจ","sparkling_heart":"๐","speak_no_evil":"๐","speaker":"๐","speaking_head":"๐ฃ","speech_balloo":"๐ฌ","speech_balloon":"๐ฌ","speedboat":"๐ค","spider":"๐ท","spider_web":"๐ธ","spiral_calendar":"๐","spiral_notepad":"๐","sponge":"๐งฝ","spoon":"๐ฅ","squid":"๐ฆ","sri_lanka":"๐ฑ๐ฐ","st_barthelemy":"๐ง๐ฑ","st_helena":"๐ธ๐ญ","st_kitts_nevis":"๐ฐ๐ณ","st_lucia":"๐ฑ๐จ","st_martin":"๐ฒ๐ซ","st_pierre_miquelon":"๐ต๐ฒ","st_vincent_grenadines":"๐ป๐จ","stadium":"๐","standing_man":"๐งโโ๏ธ","standing_person":"๐ง","standing_woman":"๐งโโ๏ธ","star":"โญ","star2":"๐","star_and_crescent":"โช","star_of_david":"โก","star_struck":"๐คฉ","stars":"๐ ","station":"๐","statue_of_liberty":"๐ฝ","steam_locomotive":"๐","stethoscope":"๐ฉบ","stew":"๐ฒ","stop_button":"โน","stop_sign":"๐","stopwatch":"โฑ","straight_ruler":"๐","strawberry":"๐","stuck_out_tongue":"๐","stuck_out_tongue_closed_eyes":"๐","stuck_out_tongue_winking_eye":"๐","student":"๐งโ๐","studio_microphone":"๐","stuffed_flatbread":"๐ฅ","sudan":"๐ธ๐ฉ","sun_behind_large_cloud":"๐ฅ","sun_behind_rain_cloud":"๐ฆ","sun_behind_small_cloud":"๐ค","sun_with_face":"๐","sunflower":"๐ป","sunglasses":"๐","sunny":"โ","sunrise":"๐
","sunrise_over_mountains":"๐","superhero":"๐ฆธ","superhero_man":"๐ฆธโโ๏ธ","superhero_woman":"๐ฆธโโ๏ธ","supervillain":"๐ฆน","supervillain_man":"๐ฆนโโ๏ธ","supervillain_woman":"๐ฆนโโ๏ธ","surfer":"๐","surfing_man":"๐โโ๏ธ","surfing_woman":"๐โโ๏ธ","suriname":"๐ธ๐ท","sushi":"๐ฃ","suspension_railway":"๐","svalbard_jan_mayen":"๐ธ๐ฏ","swan":"๐ฆข","swaziland":"๐ธ๐ฟ","sweat":"๐","sweat_drops":"๐ฆ","sweat_smile":"๐
","sweden":"๐ธ๐ช","sweet_potato":"๐ ","swim_brief":"๐ฉฒ","swimmer":"๐","swimming_man":"๐โโ๏ธ","swimming_woman":"๐โโ๏ธ","switzerland":"๐จ๐ญ","symbols":"๐ฃ","synagogue":"๐","syria":"๐ธ๐พ","syringe":"๐","t-rex":"๐ฆ","taco":"๐ฎ","tad":"๐","tada":"๐","taiwan":"๐น๐ผ","tajikistan":"๐น๐ฏ","takeout_box":"๐ฅก","tanabata_tree":"๐","tangerine":"๐","tanzania":"๐น๐ฟ","taurus":"โ","taxi":"๐","tea":"๐ต","teacher":"๐งโ๐ซ","technologist":"๐งโ๐ป","teddy_bear":"๐งธ","telephone":"โ","telephone_receiver":"๐","telescope":"๐ญ","tennis":"๐พ","tent":"โบ","test_tube":"๐งช","thailand":"๐น๐ญ","thermometer":"๐ก","thinking":"๐ค","thought_balloon":"๐ญ","thread":"๐งต","three":"3๏ธโฃ","thumbsdown":"๐","thumbsup":"๐","ticket":"๐ซ","tickets":"๐","tiger":"๐ฏ","tiger2":"๐
","timer_clock":"โฒ","timor_leste":"๐น๐ฑ","tipping_hand_man":"๐โโ๏ธ","tipping_hand_person":"๐","tipping_hand_woman":"๐โโ๏ธ","tired_face":"๐ซ","tm":"โข","togo":"๐น๐ฌ","toilet":"๐ฝ","tokelau":"๐น๐ฐ","tokyo_tower":"๐ผ","tomato":"๐
","tonga":"๐น๐ด","tongue":"๐
","toolbox":"๐งฐ","tooth":"๐ฆท","top":"๐","tophat":"๐ฉ","tornado":"๐ช","tr":"๐น๐ท","trackball":"๐ฒ","tractor":"๐","traffic_light":"๐ฅ","train":"๐","train2":"๐","tram":"๐","triangular_flag_on_pos":"๐ฉ","triangular_flag_on_post":"๐ฉ","triangular_ruler":"๐","trident":"๐ฑ","trinidad_tobago":"๐น๐น","tristan_da_cunha":"๐น๐ฆ","triumph":"๐ค","trolleybus":"๐","trophy":"๐","tropical_drink":"๐น","tropical_fish":"๐ ","truc":"๐","truck":"๐","trumpet":"๐บ","tshirt":"๐","tulip":"๐ท","tumbler_glass":"๐ฅ","tunisia":"๐น๐ณ","turkey":"๐ฆ","turkmenistan":"๐น๐ฒ","turks_caicos_islands":"๐น๐จ","turtle":"๐ข","tuvalu":"๐น๐ป","tv":"๐บ","twisted_rightwards_arrow":"๐","twisted_rightwards_arrows":"๐","two":"2๏ธโฃ","two_hearts":"๐","two_men_holding_hands":"๐ฌ","two_women_holding_hands":"๐ญ","u5272":"๐น","u5408":"๐ด","u55b6":"๐บ","u6307":"๐ฏ","u6708":"๐ท","u6709":"๐ถ","u6e80":"๐ต","u7121":"๐","u7533":"๐ธ","u7981":"๐ฒ","u7a7a":"๐ณ","uganda":"๐บ๐ฌ","uk":"๐ฌ๐ง","ukraine":"๐บ๐ฆ","umbrella":"โ","unamused":"๐","underage":"๐","unicorn":"๐ฆ","united_arab_emirates":"๐ฆ๐ช","united_nations":"๐บ๐ณ","unlock":"๐","up":"๐","upside_down_face":"๐","uruguay":"๐บ๐พ","us":"๐บ๐ธ","us_outlying_islands":"๐บ๐ฒ","us_virgin_islands":"๐ป๐ฎ","uzbekistan":"๐บ๐ฟ","v":"โ","vampire":"๐ง","vampire_man":"๐งโโ๏ธ","vampire_woman":"๐งโโ๏ธ","vanuatu":"๐ป๐บ","vatican_city":"๐ป๐ฆ","venezuela":"๐ป๐ช","vertical_traffic_light":"๐ฆ","vhs":"๐ผ","vibration_mode":"๐ณ","video_camera":"๐น","video_game":"๐ฎ","vietnam":"๐ป๐ณ","violin":"๐ป","virgo":"โ","volcano":"๐","volleyball":"๐","vomiting_face":"๐คฎ","vs":"๐","vulcan_salute":"๐","waffle":"๐ง","wales":"๐ด๓ ง๓ ข๓ ท๓ ฌ๓ ณ๓ ฟ","walking":"๐ถ","walking_man":"๐ถโโ๏ธ","walking_woman":"๐ถโโ๏ธ","wallis_futuna":"๐ผ๐ซ","waning_crescent_moon":"๐","waning_gibbous_moon":"๐","warning":"โ ","wastebaske":"๐","wastebasket":"๐","watch":"โ","water_buffalo":"๐","water_polo":"๐คฝ","watermelon":"๐","wave":"๐","wavy_dash":"ใฐ","waxing_crescent_moon":"๐","waxing_gibbous_moon":"๐","wc":"๐พ","weary":"๐ฉ","wedding":"๐","weight_lifting":"๐","weight_lifting_man":"๐๏ธโโ๏ธ","weight_lifting_woman":"๐๏ธโโ๏ธ","western_sahara":"๐ช๐ญ","whale":"๐ณ","whale2":"๐","wheel_of_dharma":"โธ","wheelchai":"โฟ๏ธ","wheelchair":"โฟ","white_check_mar":"โ
","white_check_mark":"โ
","white_circle":"โช","white_flag":"๐ณ","white_flower":"๐ฎ","white_haired_man":"๐จโ๐ฆณ","white_haired_woman":"๐ฉโ๐ฆณ","white_heart":"๐ค","white_large_square":"โฌ","white_medium_small_square":"โฝ","white_medium_square":"โป","white_small_square":"โซ","white_square_button":"๐ณ","wilted_flower":"๐ฅ","wind_chime":"๐","wind_face":"๐ฌ","wine_glass":"๐ท","wink":"๐","wolf":"๐บ","woman":"๐ฉ","woman_artist":"๐ฉโ๐จ","woman_astronaut":"๐ฉโ๐","woman_cartwheeling":"๐คธโโ๏ธ","woman_cook":"๐ฉโ๐ณ","woman_dancing":"๐","woman_facepalming":"๐คฆโโ๏ธ","woman_factory_worker":"๐ฉโ๐ญ","woman_farmer":"๐ฉโ๐พ","woman_firefighter":"๐ฉโ๐","woman_health_worker":"๐ฉโโ๏ธ","woman_in_manual_wheelchair":"๐ฉโ๐ฆฝ","woman_in_motorized_wheelchair":"๐ฉโ๐ฆผ","woman_judge":"๐ฉโโ๏ธ","woman_juggling":"๐คนโโ๏ธ","woman_mechanic":"๐ฉโ๐ง","woman_office_worker":"๐ฉโ๐ผ","woman_pilot":"๐ฉโโ๏ธ","woman_playing_handball":"๐คพโโ๏ธ","woman_playing_water_polo":"๐คฝโโ๏ธ","woman_scientist":"๐ฉโ๐ฌ","woman_shrugging":"๐คทโโ๏ธ","woman_singer":"๐ฉโ๐ค","woman_student":"๐ฉโ๐","woman_teacher":"๐ฉโ๐ซ","woman_technologist":"๐ฉโ๐ป","woman_with_headscarf":"๐ง","woman_with_probing_cane":"๐ฉโ๐ฆฏ","woman_with_turban":"๐ณโโ๏ธ","womans_clothes":"๐","womans_hat":"๐","women_wrestling":"๐คผโโ๏ธ","womens":"๐บ","woozy_face":"๐ฅด","world_map":"๐บ","worried":"๐","wrenc":"๐ง","wrench":"๐ง","wrestling":"๐คผ","writing_hand":"โ","x":"โ","yarn":"๐งถ","yawning_face":"๐ฅฑ","yellow_circle":"๐ก","yellow_heart":"๐","yellow_square":"๐จ","yemen":"๐พ๐ช","yen":"๐ด","yin_yang":"โฏ","yo_yo":"๐ช","yum":"๐","za":"โก๏ธ","zambia":"๐ฟ๐ฒ","zany_face":"๐คช","zap":"โก","zebra":"๐ฆ","zero":"0๏ธโฃ","zimbabwe":"๐ฟ๐ผ","zipper_mouth_face":"๐ค","zombie":"๐ง","zombie_man":"๐งโโ๏ธ","zombie_woman":"๐งโโ๏ธ","zzz":"๐ค"}
|
home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git/resources/icons/dark/status-added.svg
ADDED
|
|
home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git/resources/icons/dark/status-conflict.svg
ADDED
|
|
home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git/resources/icons/dark/status-copied.svg
ADDED
|
|
home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git/resources/icons/dark/status-deleted.svg
ADDED
|
|
home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git/resources/icons/dark/status-ignored.svg
ADDED
|
|
home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git/resources/icons/dark/status-modified.svg
ADDED
|
|
home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git/resources/icons/dark/status-renamed.svg
ADDED
|
|
home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git/resources/icons/dark/status-type-changed.svg
ADDED
|
|
home/.vscode-server/cli/servers/Stable-1b6a188127eeaf9194f945eb6eb89a657e93c54c/server/extensions/git/resources/icons/dark/status-untracked.svg
ADDED
|
|