Tin mới
GitHub CopilotWrite better code with AI
GitHub Copilot appDirect agents from issue to merge
CodespacesInstant dev environments
Code ReviewManage code changes
Code QualityEnforce quality at merge
GitHub Advanced SecurityFind and fix vulnerabilities
Code securitySecure your code as you build
Secret protectionStop leaks before they start
GitHub SponsorsFund open source developers
Copilot for BusinessEnterprise-grade AI features
Premium SupportEnterprise-grade 24/7 support
Use copy_file_range() in shutil.copyfile() (server-side copy) #81340
Move determining a block size for copying to a separate function
Add copy-on-write support to shutil
@giampaolo copy_file_range does try cloning. Take a look at https://stackoverflow.com/a/65518879 and https://github.com/torvalds/linux/blob/1e57930e9f4083ad5854ab6eadffe790a8167fb4/fs/read_write.c#L1491-L1507.
Learn more about hiding disruptive comments
The reason will be displayed to describe this comment to others. Learn more.
Update comments in _determine_linux_fastcopy_blocksize
Update docs to link to copy_file_range as a Python function
Update os.copy_file_range documentation #93180
[WIP] GH-73991: Add os.copy() and friends #119079
GH-73991: Add pathlib.Path.copy() #119058
Merge branch 'main' into fix-issue-81340
Drop the allow_reflink argument
Remove duplicate change entries from docs
Merge branch 'main' into fix-issue-81340
Merge branch 'main' into fix-issue-81340
: Use copy_file_range in shutil.copyfile copy functions (
Use BTRFS reflink for safer deduplication 9001/copyparty#201