public void ImportFromArchive(IAbsoluteFilePath file) { Create(); Tools.FileUtil.Ops.CopyWithRetry(file, ArchivePath, true); UpdateContent(); }
public ArchiveContent CreateFromExisting(string name, string destination, IAbsoluteFilePath file, IFileDownloader downloader) { var ac = new ArchiveContent(name, destination, downloader); ac.ImportFromArchive(file); return(ac); }