Exemplo n.º 1
0
 private string Hash(ITreeEntry treeEntry)
 {
     using (var stream = treeEntry.OpenRead())
         return BitConverter.ToString(new MD5CryptoServiceProvider().ComputeHash(stream));
 }
Exemplo n.º 2
0
 private void OnlyIn(string source, ITreeEntry treeEntry)
 {
     _stdout.WriteLine("Only in " + source + ": " + treeEntry.FullName);
 }
Exemplo n.º 3
0
 private string Hash(ITreeEntry treeEntry)
 {
     using (var stream = treeEntry.OpenRead())
         return(BitConverter.ToString(new MD5CryptoServiceProvider().ComputeHash(stream)));
 }
Exemplo n.º 4
0
 private void OnlyIn(string source, ITreeEntry treeEntry)
 {
     _stdout.WriteLine("Only in " + source + ": " + treeEntry.FullName);
 }