uv
d243250d - Avoid unnecessary permissions changes for copy paths (#1152)

Commit
2 years ago
Avoid unnecessary permissions changes for copy paths (#1152) In Rust, `fs::copy` automatically preserves permissions (see: https://doc.rust-lang.org/std/fs/fn.copy.html). Elsewhere, when copying from the zip archive out to the cache, we can set permissions during file creation, rather than as a separate call. Both of these should be slightly more efficient.
Author
Parents
Loading