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
Unknown Object (File)
Thu, Apr 25, 12:07 AM
Unknown Object (File)
Fri, Apr 19, 7:49 PM
Unknown Object (File)
Tue, Apr 16, 1:36 AM
Unknown Object (File)
Thu, Apr 11, 8:23 AM
Unknown Object (File)
Mar 27 2024, 5:16 AM
Unknown Object (File)
Feb 20 2024, 1:10 AM
Unknown Object (File)
Feb 14 2024, 12:36 PM
Unknown Object (File)
Feb 13 2024, 1:58 AM
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.