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
F18082101: D16275.id.diff
Tue, Aug 5, 3:53 AM
Unknown Object (File)
Jun 16 2025, 11:27 AM
Unknown Object (File)
Jun 2 2025, 6:27 AM
Unknown Object (File)
May 29 2025, 2:59 AM
Unknown Object (File)
May 28 2025, 3:54 AM
Unknown Object (File)
May 27 2025, 11:20 AM
Unknown Object (File)
May 20 2025, 4:04 AM
Unknown Object (File)
May 1 2025, 6:36 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