"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Duplicati/Library/Main/Operation/FilelistProcessor.cs" between
duplicati-2.0.5.104-2.0.5.104_canary_2020-03-25.tar.gz and duplicati-2.0.5.106-2.0.5.106_canary_2020-05-11.tar.gz

About: Duplicati is a backup client that securely stores encrypted, incremental, compressed backups on local devices, cloud storage services and remote file servers (for Windows, macOS and Linux). A remark: This officially "pre-release" seems to run stable.

FilelistProcessor.cs  (duplicati-2.0.5.104-2.0.5.104_canary_2020-03-25):FilelistProcessor.cs  (duplicati-2.0.5.106-2.0.5.106_canary_2020-05-11)
skipping to change at line 21 skipping to change at line 21
// WITHOUT ANY WARRANTY; without even the implied warranty of // WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details. // Lesser General Public License for more details.
// //
// You should have received a copy of the GNU Lesser General Public // You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software // License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
using System; using System;
using Duplicati.Library.Main.Database; using Duplicati.Library.Main.Database;
using System.Collections.Generic; using System.Collections.Generic;
using System.Data;
using System.Linq; using System.Linq;
using Duplicati.Library.Interface; using Duplicati.Library.Interface;
namespace Duplicati.Library.Main.Operation namespace Duplicati.Library.Main.Operation
{ {
internal static class FilelistProcessor internal static class FilelistProcessor
{ {
/// <summary> /// <summary>
/// The tag used for logging /// The tag used for logging
/// </summary> /// </summary>
skipping to change at line 74 skipping to change at line 75
default: default:
Logging.Log.WriteWarningMessage(LOGTAG, "UnknownFileStat e", null, "Unknown state for remote file listed as {0}: {1}", i.State, i.Name); Logging.Log.WriteWarningMessage(LOGTAG, "UnknownFileStat e", null, "Unknown state for remote file listed as {0}: {1}", i.State, i.Name);
break; break;
} }
backend.FlushDbMessages(); backend.FlushDbMessages();
} }
} }
public static void VerifyRemoteList(BackendManager backend, Options opti
ons, LocalDatabase database, IBackendWriter backendWriter, bool latestVolumesOnl
y, IDbTransaction transaction)
{
if (!options.NoBackendverification)
{
LocalBackupDatabase backupDatabase = new LocalBackupDatabase(dat
abase, options);
IEnumerable<string> protectedFiles = backupDatabase.GetTemporary
FilelistVolumeNames(latestVolumesOnly, transaction);
FilelistProcessor.VerifyRemoteList(backend, options, database, b
ackendWriter, protectedFiles);
}
}
/// <summary> /// <summary>
/// Helper method that verifies uploaded volumes and updates their state in the database. /// Helper method that verifies uploaded volumes and updates their state in the database.
/// Throws an error if there are issues with the remote storage /// Throws an error if there are issues with the remote storage
/// </summary> /// </summary>
/// <param name="backend">The backend instance to use</param> /// <param name="backend">The backend instance to use</param>
/// <param name="options">The options used</param> /// <param name="options">The options used</param>
/// <param name="database">The database to compare with</param> /// <param name="database">The database to compare with</param>
/// <param name="log">The log instance to use</param> /// <param name="log">The log instance to use</param>
/// <param name="protectedFiles">Filenames that should be exempted from deletion</param> /// <param name="protectedFiles">Filenames that should be exempted from deletion</param>
public static void VerifyRemoteList(BackendManager backend, Options opti ons, LocalDatabase database, IBackendWriter log, IEnumerable<string> protectedFi les = null) public static void VerifyRemoteList(BackendManager backend, Options opti ons, LocalDatabase database, IBackendWriter log, IEnumerable<string> protectedFi les = null)
 End of changes. 2 change blocks. 
0 lines changed or deleted 16 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)