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

Should svn_hash_(read|write) accept streams?

From: Josh Pieper <jpieper_at_andrew.cmu.edu>
Date: 2004-04-11 02:43:38 CEST

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
input/output. The originals could be removed at the next API change.

-Josh

---------------------------------------------------------------------
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:43:52 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.