Page MenuHomePhabricator

Add a method to copy files, preserving attributes
ClosedPublic

Authored by alexmv on Jul 12 2016, 12:18 AM.

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 OK
Unit
Unit Tests OK
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.Jul 12 2016, 12:18 AM
alexmv updated this object.
alexmv edited the test plan for this revision. (Show Details)
alexmv updated this revision to Diff 39147.
epriestley accepted this revision.
This revision is now accepted and ready to land.Jul 12 2016, 1:26 PM
alexmv closed this revision.Jul 12 2016, 5:19 PM