mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
All sanity checks pass
This commit is contained in:
parent
bb4354ad20
commit
3d4947a27a
@ -425,11 +425,9 @@ namespace Wabbajack.Lib
|
|||||||
private void BuildArchivePatches(string archive_sha, IEnumerable<PatchedFromArchive> group,
|
private void BuildArchivePatches(string archive_sha, IEnumerable<PatchedFromArchive> group,
|
||||||
Dictionary<string, string> absolute_paths)
|
Dictionary<string, string> absolute_paths)
|
||||||
{
|
{
|
||||||
throw new NotImplementedException();
|
|
||||||
/*
|
|
||||||
using (var files = VFS.StageWith(group.Select(g => VFS.Index.FileForArchiveHashPath(g.ArchiveHashPath))).Result)
|
using (var files = VFS.StageWith(group.Select(g => VFS.Index.FileForArchiveHashPath(g.ArchiveHashPath))).Result)
|
||||||
{
|
{
|
||||||
var by_path = files.GroupBy(f => string.Join("|", f.Paths.Skip(1)))
|
var by_path = files.GroupBy(f => string.Join("|", f.FilesInFullPath.Skip(1).Select(i => i.Name)))
|
||||||
.ToDictionary(f => f.Key, f => f.First());
|
.ToDictionary(f => f.Key, f => f.First());
|
||||||
// Now Create the patches
|
// Now Create the patches
|
||||||
group.PMap(entry =>
|
group.PMap(entry =>
|
||||||
@ -448,7 +446,6 @@ namespace Wabbajack.Lib
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private async Task<byte[]> LoadDataForTo(string to, Dictionary<string, string> absolute_paths)
|
private async Task<byte[]> LoadDataForTo(string to, Dictionary<string, string> absolute_paths)
|
||||||
|
@ -245,6 +245,11 @@ namespace Wabbajack.VirtualFileSystem
|
|||||||
}
|
}
|
||||||
return path;
|
return path;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Stream OpenRead()
|
||||||
|
{
|
||||||
|
return File.OpenRead(StagedPath);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public class CannotStageNativeFile : Exception
|
public class CannotStageNativeFile : Exception
|
||||||
|
Loading…
Reference in New Issue
Block a user