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

Re: dump format refinement

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2002-04-30 00:10:01 CEST

Marcus Comstedt <marcus@mc.pp.se> writes:

> Ben Collins-Sussman <sussman@collab.net> writes:
>
> > Indeed, it would be tricky. I wonder how httpd deals with this when
> > you GET a file....?
>
> If it's really a file, then it would probably just stat it to get the
> length.

*doink*

I should read svn_fs.h more closely. We already have a function for this:

/* Set *LENGTH_P to the length of the file PATH in ROOT, in bytes. Do
   any necessary temporary allocation in POOL. */
svn_error_t *svn_fs_file_length (apr_off_t *length_p,
                                 svn_fs_root_t *root,
                                 const char *path,
                                 apr_pool_t *pool);

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Apr 30 00:14:11 2002

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.