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
F19702520: D16275.id.diff
Wed, Feb 11, 12:20 AM
F19702515: D16275.id.diff
Wed, Feb 11, 12:20 AM
F19700858: D16275.diff
Tue, Feb 10, 9:46 PM
F19622258: D16275.diff
Wed, Feb 4, 2:02 PM
F19535051: D16275.id39147.diff
Jan 21 2026, 3:58 AM
F19522162: D16275.diff
Jan 17 2026, 5:04 AM
F19516870: D16275.diff
Jan 15 2026, 5:03 AM
F19514785: D16275.diff
Jan 14 2026, 5:00 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