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
F18625962: D15071.diff
Tue, Sep 16, 12:03 AM
F18625961: D15071.diff
Tue, Sep 16, 12:03 AM
F18507090: D15071.id.diff
Fri, Sep 5, 1:58 AM
F18499884: D15071.diff
Thu, Sep 4, 8:10 PM
F18098162: D15071.id36394.diff
Aug 8 2025, 7:05 PM
F18092630: D15071.id36394.diff
Aug 7 2025, 11:59 AM
F18065325: D15071.id.diff
Aug 4 2025, 2:05 PM
F18053295: D15071.id36392.diff
Aug 4 2025, 4:26 AM
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.