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
Unknown Object (File)
Thu, Apr 11, 4:14 AM
Unknown Object (File)
Fri, Apr 5, 11:59 AM
Unknown Object (File)
Wed, Mar 27, 9:41 PM
Unknown Object (File)
Tue, Mar 19, 9:25 PM
Unknown Object (File)
Tue, Mar 19, 6:51 PM
Unknown Object (File)
Mon, Mar 18, 5:15 PM
Unknown Object (File)
Mar 16 2024, 6:20 PM
Unknown Object (File)
Mar 16 2024, 5:25 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.