]> khamidou — GitHub mirrors - arcanist.git/commit
Improve temporary file upload API and add viewPolicy support
authorepriestley <git@epriestley.com>
Mon, 7 Sep 2015 19:44:59 +0000 (12:44 -0700)
committerepriestley <git@epriestley.com>
Mon, 7 Sep 2015 19:44:59 +0000 (12:44 -0700)
commit55d9cc70131678d1d373bb6605692cc2be475772
tree70dc369726cf9a3eca9375d8e479739db1768a43
parent98969086851365d85c8bed0596ee695b1d61a638
Improve temporary file upload API and add viewPolicy support

Summary: Ref T7148. In D14056, I let `arc upload` upload temporary files, but this is a better way to do some of the internals. Also add support for setting a `viewPolicy`.

Test Plan: Used `arc upload`, `arc upload --temporary`.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T7148

Differential Revision: https://secure.phabricator.com/D14075
src/upload/ArcanistFileDataRef.php
src/upload/ArcanistFileUploader.php
src/workflow/ArcanistUploadWorkflow.php