Page MenuHomePhabricator

Allow callers to choose which directory a "TempFile" is created in
ClosedPublic

Authored by epriestley on Jul 20 2018, 5:28 PM.
Tags
None
Referenced Files
F14055107: D19521.diff
Sat, Nov 16, 8:19 AM
F14041902: D19521.diff
Mon, Nov 11, 10:34 PM
F14028689: D19521.diff
Fri, Nov 8, 3:11 PM
F14028423: D19521.id46677.diff
Fri, Nov 8, 1:12 PM
F13995746: D19521.id46677.diff
Wed, Oct 23, 3:09 PM
Unknown Object (File)
Oct 13 2024, 2:23 AM
Unknown Object (File)
Sep 13 2024, 2:58 PM
Unknown Object (File)
Sep 9 2024, 2:15 PM
Subscribers
None

Details

Summary

Ref T13167. I'd like to buffer a specific large file (a large database export) to a large volume, instead of to "/tmp" on the root volume.

To support this, let callers optionally choose which directory to use as "/tmp". If they don't specfify, we continue using sys_get_temp_dir(), often /tmp.

Test Plan

See next change.

Diff Detail

Repository
rPHU libphutil
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley added a child revision: Restricted Differential Revision.Jul 20 2018, 5:30 PM
This revision is now accepted and ready to land.Jul 20 2018, 6:04 PM
This revision was automatically updated to reflect the committed changes.