CARVIEW |
Select Language
HTTP/2 200
date: Mon, 21 Jul 2025 05:31:38 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/nodejs/node.git
etag: W/"740d7e6fc6feaf9fe9c845ea82ec9297"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=DUUjYN26ih8txStvB%2BmlAquCW9FsqftHFH6wgSvWiF3XwfFJ%2Fh3GcY6zOoPYrxT5GzZneUUViZCOVW%2BwDlyoxwTOzWtLlb2Ay0dFSlbNwV6mJ9YM%2FSsytkNEQdRePLIk8A8GXf0c7fhjTmYs0PtN0cui7YgAd8yf2OlxaU7A%2BuQYj1zNifHMqLX5uLxtO5cDqagaPO4%2BsOpSE5c7Yi9FaktYr3a5Jwil3sVQ3k6MdDMoo19rEzLIz4VEKoOcEXIQJlBz40uqMaKH1EpXUnSkSQ%3D%3D--Fc2%2BvHd5dKIfTBrR--bZMiMe8foj38f%2BxcjVxxag%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1378214209.1753075897; Path=/; Domain=github.com; Expires=Tue, 21 Jul 2026 05:31:37 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Tue, 21 Jul 2026 05:31:37 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: BD26:134C64:170009F:1E1C77D:687DD0B9
fs: optimize `fs.cpSync` js calls · nodejs/node@5e03c17 · GitHub
Copy file name to clipboardExpand all lines: lib/internal/fs/cp/cp-sync.js
Skip to content
Navigation Menu
{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
Commit 5e03c17
File tree
Expand file treeCollapse file tree
5 files changed
+172
-138
lines changedFilter options
- lib/internal/fs/cp
- src
- test/fixtures/permission
- typings/internalBinding
Expand file treeCollapse file tree
5 files changed
+172
-138
lines changedlib/internal/fs/cp/cp-sync.js
Copy file name to clipboardExpand all lines: lib/internal/fs/cp/cp-sync.js+31-133Lines changed: 31 additions & 133 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
5 |
| - | |
| 5 | + | |
| 6 | + | |
6 | 7 |
| |
7 |
| - | |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
11 |
| - | |
12 |
| - | |
13 | 10 |
| |
14 |
| - | |
15 |
| - | |
16 | 11 |
| |
17 | 12 |
| |
18 | 13 |
| |
19 | 14 |
| |
20 | 15 |
| |
21 | 16 |
| |
22 |
| - | |
23 | 17 |
| |
24 |
| - | |
25 | 18 |
| |
26 | 19 |
| |
27 | 20 |
| |
28 | 21 |
| |
29 | 22 |
| |
30 | 23 |
| |
31 |
| - | |
32 | 24 |
| |
33 | 25 |
| |
34 | 26 |
| |
| |||
42 | 34 |
| |
43 | 35 |
| |
44 | 36 |
| |
45 |
| - | |
46 | 37 |
| |
47 | 38 |
| |
48 | 39 |
| |
| |||
54 | 45 |
| |
55 | 46 |
| |
56 | 47 |
| |
57 |
| - | |
58 |
| - | |
59 |
| - | |
60 |
| - | |
61 |
| - | |
62 |
| - | |
63 |
| - | |
64 | 48 |
| |
65 | 49 |
| |
66 | 50 |
| |
67 | 51 |
| |
68 | 52 |
| |
69 |
| - | |
| 53 | + | |
70 | 54 |
| |
71 |
| - | |
72 | 55 |
| |
73 |
| - | |
74 |
| - | |
75 |
| - | |
76 |
| - | |
77 |
| - | |
78 |
| - | |
79 |
| - | |
80 |
| - | |
81 |
| - | |
82 |
| - | |
83 |
| - | |
84 |
| - | |
85 |
| - | |
86 |
| - | |
87 |
| - | |
88 |
| - | |
89 |
| - | |
90 |
| - | |
91 |
| - | |
92 |
| - | |
93 |
| - | |
94 |
| - | |
95 |
| - | |
96 |
| - | |
97 |
| - | |
98 |
| - | |
99 |
| - | |
100 |
| - | |
101 |
| - | |
102 |
| - | |
103 |
| - | |
104 |
| - | |
105 |
| - | |
106 |
| - | |
107 |
| - | |
108 |
| - | |
109 |
| - | |
110 |
| - | |
111 |
| - | |
112 |
| - | |
113 |
| - | |
114 |
| - | |
115 |
| - | |
| 56 | + | |
116 | 57 |
| |
117 |
| - | |
118 |
| - | |
119 |
| - | |
120 |
| - | |
121 |
| - | |
| 58 | + | |
122 | 59 |
| |
123 | 60 |
| |
124 |
| - | |
125 |
| - | |
126 |
| - | |
127 |
| - | |
128 |
| - | |
129 |
| - | |
130 |
| - | |
131 |
| - | |
132 |
| - | |
133 |
| - | |
134 |
| - | |
135 |
| - | |
136 |
| - | |
137 |
| - | |
138 |
| - | |
139 |
| - | |
140 |
| - | |
141 |
| - | |
142 |
| - | |
143 |
| - | |
144 |
| - | |
145 |
| - | |
146 |
| - | |
147 |
| - | |
148 |
| - | |
149 |
| - | |
150 |
| - | |
151 |
| - | |
152 |
| - | |
| 61 | + | |
| 62 | + | |
153 | 63 |
| |
154 | 64 |
| |
| 65 | + | |
155 | 66 |
| |
156 | 67 |
| |
157 | 68 |
| |
158 |
| - | |
159 |
| - | |
160 |
| - | |
161 |
| - | |
162 |
| - | |
163 |
| - | |
164 |
| - | |
165 |
| - | |
166 | 69 |
| |
167 | 70 |
| |
168 | 71 |
| |
169 | 72 |
| |
170 | 73 |
| |
171 |
| - | |
172 |
| - | |
173 |
| - | |
174 |
| - | |
175 |
| - | |
176 |
| - | |
177 |
| - | |
178 |
| - | |
179 |
| - | |
180 |
| - | |
181 |
| - | |
182 |
| - | |
183 |
| - | |
184 |
| - | |
185 |
| - | |
186 |
| - | |
187 |
| - | |
| 74 | + | |
188 | 75 |
| |
189 |
| - | |
190 |
| - | |
191 |
| - | |
192 |
| - | |
193 |
| - | |
194 |
| - | |
195 |
| - | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
196 | 80 |
| |
197 | 81 |
| |
198 | 82 |
| |
199 | 83 |
| |
200 | 84 |
| |
201 | 85 |
| |
202 | 86 |
| |
| 87 | + | |
203 | 88 |
| |
204 | 89 |
| |
205 | 90 |
| |
| |||
249 | 134 |
| |
250 | 135 |
| |
251 | 136 |
| |
| 137 | + | |
252 | 138 |
| |
253 | 139 |
| |
254 | 140 |
| |
| |||
260 | 146 |
| |
261 | 147 |
| |
262 | 148 |
| |
| 149 | + | |
263 | 150 |
| |
264 | 151 |
| |
265 | 152 |
| |
| |||
270 | 157 |
| |
271 | 158 |
| |
272 | 159 |
| |
273 |
| - | |
274 |
| - | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
275 | 172 |
| |
276 | 173 |
| |
277 | 174 |
| |
278 | 175 |
| |
279 | 176 |
| |
280 | 177 |
| |
281 |
| - | |
| 178 | + | |
| 179 | + | |
282 | 180 |
| |
283 |
| - | |
| 181 | + | |
284 | 182 |
| |
285 | 183 |
| |
286 | 184 |
| |
|
+7Lines changed: 7 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
70 | 70 |
| |
71 | 71 |
| |
72 | 72 |
| |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
73 | 80 |
| |
74 | 81 |
| |
75 | 82 |
| |
|
You can’t perform that action at this time.
0 commit comments