예제 #1
0
        protected internal override FileSystemSessionItem DoNavigate(FileSystemSession session, string path)
        {
            SVNFileSystemSession wdSession = session as SVNFileSystemSession;

            WebDAV.Item item = wdSession.WebDAV.Root.NavigatePath(path);

            WebDAV.Directory dir = item as WebDAV.Directory;
            if (dir != null)
            {
                return(new FileSystemDirectory(session, dir.Parent != null ? dir.Parent.Path : string.Empty, dir.Name, new SVNFSH(dir)));
            }

            WebDAV.File file = item as WebDAV.File;
            if (file != null)
            {
                return(new FileSystemFile(session, file.Parent.Path, file.Name, new SVNFSH(file)));
            }

            return(null);
        }
예제 #2
0
 protected internal override DateTime?DoGetModificationTimestamp(FileSystemSessionItem item)
 {
     WebDAV.Item wdItem = GetSVNItem(item);
     return(wdItem.LastModificationDate);
 }
예제 #3
0
 public SVNFSH(WebDAV.Item item)
 {
     Item = item;
 }