HomePhabricator

Add a method to copy files, preserving attributes

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

Description

Add a method to copy files, preserving attributes

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

Reviewers: Blessed Reviewers, epriestley

Reviewed By: Blessed Reviewers, epriestley

Subscribers: epriestley

Differential Revision: https://secure.phabricator.com/D16275

Details

Committed
alexmvJul 12 2016, 5:19 PM
Pushed
alexmvJul 12 2016, 5:19 PM
Reviewer
Blessed Reviewers
Differential Revision
D16275: Add a method to copy files, preserving attributes
Parents
rPHU32c56dc20b39: let pht expect PhutilSafeHTMLProducerInterface
Branches
Unknown
Tags
Unknown
Build Status
Buildable 13034
Build 16655: Run Core Tests