svn_client_ls has some issues with it and shoud be deprecated and replaced with a new function. The suggested name is svn_client_list. This issue exists to gather the problems we want to fix in the new function. One issue is that svn_client_ls doesn't provide a way to tell if the path or URL passed into it is a directory or a file. One way to fix this would be to make the keys of the hash relative to the parent directory of the passed-in path or URL. Apps that want the old behavior could run svn_path_basename() on the key. Any other problems with svn_client_ls should be added as comments to this issue. Or make this issue depend upon the Issue number of the Issue that explains the problem.