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

Re: getting the type of the repository

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-08-13 15:16:24 CEST

On Fri, 2004-08-13 at 07:07, SteveKing wrote:
> Hi,
>
> I'm looking through the headers and sources of Subversion now for two
> hours, but I can't find a function which I could use to check wheter a
> path points to a bdb or fsfs type repository.
> Is there no such function or am I just blind? (I think the latter :(

You are correct, there is no such API.

Why does your program need to discover this? The whole point of
svn_fs.h is that the implementation is abstracted. Your application
shouldn't have to behave any differently. (The same thing goes for the
RA libraries; your application has a URL with a certain schema, and the
API automatically opens the correct RA library for you. Your
application doesn't need to know which RA library is being used.)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Aug 13 15:17:30 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.