RegEx not needed anymore

This commit is contained in:
Thomas Vollstädt 2011-09-05 17:40:53 +02:00
parent 76f4a70f1f
commit 3de082085b

View file

@ -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, "");