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
F19087889: D16275.id.diff
Wed, Dec 3, 2:34 AM
F19080405: D16275.diff
Tue, Dec 2, 1:13 AM
F19041595: D16275.diff
Wed, Nov 26, 4:23 PM
F19038160: D16275.id39147.diff
Wed, Nov 26, 2:34 AM
F19020936: D16275.diff
Nov 23 2025, 6:34 PM
F19010524: D16275.diff
Nov 22 2025, 4:49 AM
F18859495: D16275.id.diff
Nov 2 2025, 2:41 AM
F18855109: D16275.diff
Nov 1 2025, 3:21 AM
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