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

FS: how to seek?

From: Greg Stein <gstein_at_lyra.org>
Date: 2000-10-19 13:50:34 CEST

Jim,

It is possible for an HTTP GET to ask for *portions* of a resource on the
server. This would correspond to a seek operation on an svn_fs_file_t.

I would guess that we could implement a function such as:

    svn_error_t * svn_fs_file_seek (svn_fs_file_t *file,
                                    void *contents_baton,
                                    apr_off_t abs_position);

Where CONTENTS_BATON was returned by svn_fs_file_contents().

I could then seek-then-read for each of the portions requested.

Note: I'm only looking for seek functionality for *reading*. It is also
      possible to modify a portion of a resource, but I can manage that
      through proper application of deltas.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
Received on Sat Oct 21 14:36:12 2006

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.