Page MenuHomePhabricator

Give PhutilRope and LinesOfALarge a couple new capabilities
ClosedPublic

Authored by epriestley on Jan 21 2016, 5:21 PM.
Tags
None
Referenced Files
F14018102: D15071.diff
Tue, Nov 5, 4:41 AM
F13992089: D15071.diff
Tue, Oct 22, 2:16 PM
F13981507: D15071.id.diff
Sat, Oct 19, 5:02 PM
F13979672: D15071.diff
Sat, Oct 19, 5:48 AM
Unknown Object (File)
Sun, Oct 13, 11:05 PM
Unknown Object (File)
Sep 4 2024, 5:52 PM
Unknown Object (File)
Sep 4 2024, 5:52 PM
Unknown Object (File)
Sep 4 2024, 5:52 PM
Subscribers
None

Details

Summary

Ref T10186. To fix that, I need to stream files out of commands like git cat directly into file storage.

This adds two capabilities to support this:

  • LinesOfALarge can now just ignore delimiters and stream all the data directly.
  • PhutilRope can now produce a prefix of a specific length (this is used to produce a chunk-sized prefix).
Test Plan

See next revision.

Diff Detail

Repository
rPHU libphutil
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Give PhutilRope and LinesOfALarge a couple new capabilities.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Jan 21 2016, 5:40 PM
This revision was automatically updated to reflect the committed changes.