public string UpdateFile(Schema.File fileNode, string localFileNameExplicit, IProgressUpdate progress) { string localFile = localFileNameExplicit == null ? GetLocalFileName(fileNode) : localFileNameExplicit; return(UpdateFile(fileNode.Path, localFile, fileNode.Archived, progress)); }
public string GetLocalFileName(Schema.File fileNode) { return(Path.GetFullPath(tangra3Path + "//" + (string.IsNullOrEmpty(fileNode.LocalPath) ? Path.GetFileName(fileNode.Path) : fileNode.LocalPath))); }
public string UpdateFile(Schema.File fileNode, IProgressUpdate progress) { return(UpdateFile(fileNode, null, progress)); }