On 06.09.2014 23:54, Bert Huijben wrote: > The dirent is canonical test is not the right test for fspaths. > Dirents are platform specific, while fspaths aren't. E.g. this breaks > fspaths containing ':' on Windows. > > I think there should be a valid fspath API for this use case, and if > not we should add it.
It's called svn_fspath__is_canonical, and it already checks for the leading slash. -- Brane