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
Unknown Object (File)
Wed, Apr 17, 11:57 AM
Unknown Object (File)
Fri, Apr 12, 5:14 AM
Unknown Object (File)
Fri, Apr 5, 4:44 AM
Unknown Object (File)
Mon, Apr 1, 3:21 AM
Unknown Object (File)
Mon, Apr 1, 3:21 AM
Unknown Object (File)
Mon, Apr 1, 12:10 AM
Unknown Object (File)
Mar 18 2024, 6:35 PM
Unknown Object (File)
Mar 18 2024, 6:32 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