From 1d3b044a07151da20f82eae3163c28d518b333c5 Mon Sep 17 00:00:00 2001 From: Hylke Bons Date: Thu, 30 Oct 2014 00:37:30 +0000 Subject: [PATCH] repo: Accessor for last sync time --- SparkleLib/SparkleRepoBase.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/SparkleLib/SparkleRepoBase.cs b/SparkleLib/SparkleRepoBase.cs index 4e9b91cb..45782544 100755 --- a/SparkleLib/SparkleRepoBase.cs +++ b/SparkleLib/SparkleRepoBase.cs @@ -47,7 +47,6 @@ namespace SparkleLib { public abstract class SparkleRepoBase { - public abstract bool SyncUp (); public abstract bool SyncDown (); public abstract void RestoreFile (string path, string revision, string target_file_path); @@ -64,7 +63,6 @@ namespace SparkleLib { public abstract List GetChangeSets (); public abstract List GetChangeSets (string path); - public static bool UseCustomWatcher = false; @@ -90,6 +88,7 @@ namespace SparkleLib { public bool IsBuffering { get; private set; } public double ProgressPercentage { get; private set; } public double ProgressSpeed { get; private set; } + public DateTime LastSync { get { return ChangeSets [0].Timestamp; }} public virtual string Identifier { get {