File[] dirs = root.getRoot().listFiles(); for (int i = 0; dirs != null && i < dirs.length; i++) { if (dirs[i].isFile()) {
Iterator entries = root.getEntries().entries(); while (entries.hasNext()) { SVNEntry entry = (SVNEntry) entries.next(); if ("".equals(entry.getName())) {
    private void visitDirectories(String parentPath, SVNDirectory root, ISVNDirectoryVisitor visitor) throws SVNException {        File[] dirs = root.getRoot().listFiles();        for (int i = 0; dirs != null && i < dirs.length; i++) {            if (dirs[i].isFile()) {                continue;            }            String path = PathUtil.append(parentPath, dirs[i].getName());            path = PathUtil.removeLeadingSlash(path);            SVNDirectory dir = new SVNDirectory(this, PathUtil.append(parentPath, dirs[i].getName()), dirs[i]);            if (dir.isVersioned()) {                visitDirectories(path, dir, visitor);                visitor.visit(path, dir);            }        }    }