You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by LUCAS DE RODRIGO IGNACIO <id...@typsa.es> on 2005/08/09 10:31:46 UTC
Easy way to check type of elements returned by svn_fs_paths_changed?
Hi all,
I'd like to know if there's an easy way to ascertain if
each element returned by svn_fs_paths_changed is a file or
directory. The svn_fs_path_change_t's returned do contain each
noderev ids, but to my knowledge there's no way to know if a
given noderev corresponds to a file or directory.
The only solution I can think of is simply to check the path
with svn_fs_is_dir (or svn_fs_is_file). The problem is that
on "delete" noderevs, both will fail, so I'd have to check
the previous revision. Which in turn forces me to obtain a
new root.
Any easier way to do all this? Thanks in advance!
Ignacio
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org