[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Should svn_hash_(read|write) accept streams?

From: Branko Čibej <brane_at_xbc.nu>
Date: 2004-04-11 02:56:29 CEST

Josh Pieper wrote:

>ghudson, sussman, and I were talking on IRC about how great it would
>be if svn_hash_(read|write) would accept svn_stream_t's. Then the
>equivalent code could be factorized out of the dumpfile loader, and
>re-used in the fs_fs code as well. The existing API could be
>trivially obtained by using svn_stream_from_aprfile, as well as handy
>things like reading hashes from stringbufs.
>So what are your thoughts about creating two new functions:
>svn_hash_read2 and svn_hash_write2 that accept svn_stream_t as
svn_hash_read_stream and svn_hash_write_stream, please. Make the
function names mnemonic.

>input/output. The originals could be removed at the next API change.

(and the originals can't be removed until 2.0, which is not the next API
change :-)

Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Apr 11 02:56:38 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.