On Fri, 2010-11-12, Julian Foad wrote: > Julian Foad wrote: > > Peter Samuelson wrote: > > > [Julian Foad] > > > > Proposal for switching to a dedicated "fs path" API: > > > > > > > > Step 1: Introduce a new API for FS paths, as a thin layer that maps to > > > > existing path APIs. It must assert that the fspath arguments and fspath > > > > return values begin with '/'. Initially it should map directly to > > > > svn_uri_*, so that it can be seen to be a direct replacement. > > I've just scanned through libsvn_fs*, libsvn_repos and libsvn_ra*, and > the only svn_uri_* functions used here on non-URI paths appear to be: > > _join() > _is_child() > _basename() > > So that makes for a nice small start-up requirement for this new API. > There are probably others used elsewhere in our codebase, of course.
I'll send a patch that adds these APIs, for review and comments. - Julian