else { if (status.getNodeKind() == SVNNodeKind.UNKNOWN) { File file = pathEclipse.toFile(); if (file.isDirectory()) resource = workspaceRoot.getContainerForLocation(pathEclipse); else resource = workspaceRoot.getFileForLocation(pathEclipse); } }
    static public IResource getResource(LocalResourceStatus status) {        IWorkspaceRoot workspaceRoot = ResourcesPlugin.getWorkspace().getRoot();        IPath pathEclipse = new Path(status.getFile().getAbsolutePath());                IResource resource = null;        if (status.getNodeKind()  == SVNNodeKind.DIR)                   resource = workspaceRoot.getContainerForLocation(pathEclipse);        else            if (status.getNodeKind() == SVNNodeKind.FILE)                resource =  workspaceRoot.getFileForLocation(pathEclipse);       return resource;         }    