Пример #1
0
        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));
        }
Пример #2
0
 public string GetLocalFileName(Schema.File fileNode)
 {
     return(Path.GetFullPath(tangra3Path + "//" + (string.IsNullOrEmpty(fileNode.LocalPath) ? Path.GetFileName(fileNode.Path) : fileNode.LocalPath)));
 }
Пример #3
0
 public string UpdateFile(Schema.File fileNode, IProgressUpdate progress)
 {
     return(UpdateFile(fileNode, null, progress));
 }