Shawn Walker wrote:

> Right now, the p5i API expects either a file-like object or the absolute
> pathname of a file.

Johansen suggested in person that perhaps the transport code could spit out
a p5i object, just like it spits out manifest and catalog objects, and that
seemed reasonable to me.

However, I'm a bit surprised that the p5i constructor doesn't take a string
as input.  Then again, I'm constantly surprised that the manifest
constructor doesn't, either.

> If you'd prefer this write to a temporary file instead and then return
> the pathname of that, I can change this whenever I start using this
> functionality.

Nah, that sounds even less savory.

Danek
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to