Page MenuHomePhabricator

Add a method to copy files, preserving attributes
ClosedPublic

Authored by alexmv on Jul 12 2016, 12:18 AM.
Tags
None
Referenced Files
F19940355: D16275.id39147.diff
Wed, Apr 15, 12:27 AM
F19923103: D16275.id39147.diff
Tue, Apr 7, 12:35 AM
F19871560: D16275.id39147.diff
Mar 15 2026, 11:13 AM
F19807138: D16275.diff
Mar 3 2026, 2:14 AM
F19702520: D16275.id.diff
Feb 11 2026, 12:20 AM
F19702515: D16275.id.diff
Feb 11 2026, 12:20 AM
F19700858: D16275.diff
Feb 10 2026, 9:46 PM
F19622258: D16275.diff
Feb 4 2026, 2:02 PM
Subscribers

Details

Summary

Unlike the built-in copy() function, this preserves file attributes
on filesystems which have them.

See D16273.

Test Plan

Called from arcanist's ArcanistLintPatcher

Diff Detail

Repository
rPHU libphutil
Branch
upstream-copyfile
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 13026
Build 16644: arc lint + arc unit

Event Timeline

alexmv retitled this revision from to Add a method to copy files, preserving attributes.
alexmv updated this object.
alexmv edited the test plan for this revision. (Show Details)
This revision is now accepted and ready to land.Jul 12 2016, 1:26 PM