HomePhabricator

Give PhutilRope and LinesOfALarge a couple new capabilities

Description

Give PhutilRope and LinesOfALarge a couple new capabilities

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.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T10186

Differential Revision: https://secure.phabricator.com/D15071

Details

Provenance
epriestleyAuthored on Jan 21 2016, 5:19 PM
epriestleyPushed on Jan 21 2016, 5:52 PM
Reviewer
chad
Differential Revision
D15071: Give PhutilRope and LinesOfALarge a couple new capabilities
Parents
rPHUc3fd3a8bb2c3: fix bug
Branches
Unknown
Tags
Unknown
Tasks
T10186: Landing a diff with files larger than 8M leads to storage engine error
Build Status
Buildable 10230
Build 12436: Run Core Tests