RegEx not needed anymore
This commit is contained in:
parent
76f4a70f1f
commit
3de082085b
|
@ -17,7 +17,6 @@
|
|||
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Text.RegularExpressions;
|
||||
|
||||
namespace SparkleLib {
|
||||
|
||||
|
@ -77,7 +76,7 @@ namespace SparkleLib {
|
|||
DateTime unix_epoch = new DateTime (1970, 1, 1, 0, 0, 0, 0);
|
||||
return unix_epoch.AddSeconds (timestamp);
|
||||
}
|
||||
|
||||
|
||||
// Gets the relative path of two hirarchical absolute paths
|
||||
public static string DiffPaths(string target, string source) {
|
||||
return target.Replace(source + Path.DirectorySeparatorChar, "");
|
||||
|
|
Loading…
Reference in a new issue