{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreifopakifmu46y2k2jwqapaa4u2hi5vo3dzhneh6s6enasiftmskpm",
"uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3mh23hpsqmof2"
},
"path": "/t/idea-add-an-option-to-set-the-mode-to-fs-copy/24080#post_3",
"publishedAt": "2026-03-14T14:47:08.000Z",
"site": "https://internals.rust-lang.org",
"textContent": "No, fs::copy can do filesystem cloning or kernel-space-only copying that io::copy can't, it really is its own operation. I'm not sure adding a mode set here is the right choice, but substituting io::copy is a behavior change and potential pessimization.",
"title": "Idea: Add an option to set the mode to fs::copy"
}