denio7 / egit

Automatically exported from code.google.com/p/egit
0 stars 0 forks source link

ObjectLoader should support loading via InputStream #121

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The ObjectLoader interface works by returning a byte[] of the object's
contents.

    public final byte[] getBytes()

This interface ties the implementation to reading the complete object into
memory. It would be nice to have an alternative method that returns an
InputStream, so that large blobs can be streamed from disk (and also
deflated on the fly):

    public abstract InputStream getInputStream();

Original issue reported on code.google.com by thilopl...@googlemail.com on 6 Nov 2009 at 6:56

GoogleCodeExporter commented 8 years ago
How do I change this from "Defect" to "Enhancement"?

Original comment by thilopl...@googlemail.com on 6 Nov 2009 at 6:56

GoogleCodeExporter commented 8 years ago

Original comment by robin.ro...@gmail.com on 6 Nov 2009 at 6:31

GoogleCodeExporter commented 8 years ago
Please enter new bugs / requests at https://bugs.eclipse.org/bugs/

Original comment by robin.ro...@gmail.com on 6 Nov 2009 at 7:57

GoogleCodeExporter commented 8 years ago
Patches in Gerrit for merge in the near future. Rouhly 
http://egit.eclipse.org/r/#change,1073

Original comment by robin.ro...@gmail.com on 12 Jul 2010 at 4:50