internal Item(WebDAV client, string name, string version, DateTime creationDate, DateTime lastModificationDate, string contentType, Directory parent) { m_Client = client; m_Name = name ?? CoreConsts.UNKNOWN; m_Version = version ?? CoreConsts.UNKNOWN; m_CreationDate = creationDate; m_LastModificationDate = lastModificationDate; m_ContentType = contentType ?? CoreConsts.UNKNOWN; m_Parent = parent; }
internal SVNFileSystemSession(SVNFileSystem fs, IFileSystemHandle handle, SVNFileSystemSessionConnectParams cParams) : base(fs, handle, cParams) { m_ServerURL = cParams.ServerURL; var cred = cParams.User.Credentials as IDPasswordCredentials; if (cred == null) { m_WebDAV = new WebDAV(cParams.ServerURL, cParams.TimeoutMs, log: fs.App.Log); } else { m_WebDAV = new WebDAV(cParams.ServerURL, cParams.TimeoutMs, cred.ID, cred.Password, log: fs.App.Log); } }
internal File(WebDAV client, string name, ulong size, string version, DateTime creationDate, DateTime lastModificationDate, string contentType, Directory parent) : base(client, name, version, creationDate, lastModificationDate, contentType, parent) { m_Size = size; }
internal Directory(WebDAV client, string name, string version, DateTime creationDate, DateTime lastModificationDate, string contentType, Directory parent) : base(client, name, version, creationDate, lastModificationDate, contentType, parent) { }