wasStitchNET

Subversion Repositories:
Compare Path: Rev
With Path: Rev
?path1? @ 19  →  ?path2? @ 20
/Repository/Files.cs
@@ -12,7 +12,7 @@
using System.Threading.Tasks;
using wasDAVClient;
using wasSharp;
using wasSharp.Linq;
using wasSharp.Sets;
using wasSharp.Web.Utilities;
using wasSharpNET.IO.Utilities;
using wasStitchNET.Structures;
@@ -34,23 +34,6 @@
{
Func<string, Task<StitchFile>> getStitchFile = async file =>
{
/*using (var memoryStream = new MemoryStream())
{
using (var stream = await client.Download(file))
{
await stream.CopyToAsync(memoryStream);
}
return new StitchFile
{
Path =
file.PathSplit(pathSeparator)
.Select(WebExtensions.URLUnescapeDataString)
.SequenceExcept(
basePath.PathSplit(pathSeparator)),
SHA1 = SHA1.Create().ToHex(memoryStream.ToArray()),
PathType = StitchPathType.PATH_FILE
};
}*/
using (var sha1managed = new SHA1Managed())
{
using (var stream = await client.Download(file))