{
  "$type": "site.standard.document",
  "bskyPostRef": {
    "cid": "bafyreihcy6uybezdd2t2mdt6ctqwd47fz4afxcw6ct5of45ysi62dlnvda",
    "uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3mgzny7kb7222"
  },
  "path": "/t/idea-add-an-option-to-set-the-mode-to-fs-copy/24080#post_2",
  "publishedAt": "2026-03-14T14:25:11.000Z",
  "site": "https://internals.rust-lang.org",
  "tags": [
    "`io::copy`"
  ],
  "textContent": "It seems to me that `fs::copy` is a convenience function for the simplest, most quick-n-dirty use case, and as the documentation notes, you'll probably want `io::copy` if you need more control over file creation or platform-dependent stuff like permissions.",
  "title": "Idea: Add an option to set the mode to fs::copy"
}