]> khamidou — GitHub mirrors - arcanist.git/commit
Use phutil functions to copy/move files
authorAlex Vandiver <alexmv@dropbox.com>
Mon, 11 Jul 2016 20:39:57 +0000 (13:39 -0700)
committerAlex Vandiver <alexmv@dropbox.com>
Tue, 12 Jul 2016 17:21:58 +0000 (10:21 -0700)
commit8f69a5c378c317f0a85b33151ee769626c0ecf00
tree9e67b7fabd64805d1161e3a9507e0eb41e31e62d
parent4d4d16f25985f133501f20fdddd183e525f00341
Use phutil functions to copy/move files

Summary:
The `cp` and `mv` commands, when run from a Windows
environment, error out.  Use library functions from `Filesystem`
for cross-platform compatibility.

Test Plan:
Ran `arc lint` with auto-fix lint errors on both Linux and
Windows.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Spies: Korvin, epriestley

Differential Revision: https://secure.phabricator.com/D16273
src/lint/ArcanistLintPatcher.php