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); }
protected internal override DateTime?DoGetModificationTimestamp(FileSystemSessionItem item) { WebDAV.Item wdItem = GetSVNItem(item); return(wdItem.LastModificationDate); }
public SVNFSH(WebDAV.Item item) { Item = item; }