mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
docs(archival): 📝♻ mv TODO
This commit is contained in:
parent
1ed13d4e9f
commit
09f35b2922
2 changed files with 2 additions and 1 deletions
|
|
@ -97,7 +97,6 @@ private async IAsyncEnumerable<IFileToArchiveSegment> GetSegmentsAsync(
|
|||
IEnumerable<ListDetailsViewUrlVm> segmentUrls,
|
||||
[EnumeratorCancellation] CancellationToken cancellationToken)
|
||||
{
|
||||
// TODO: validate multi-segment lists are archived correctly
|
||||
foreach (var segment in segmentUrls)
|
||||
{
|
||||
var sourceFileName = Uri.UnescapeDataString(segment.Url.Segments.Last());
|
||||
|
|
|
|||
|
|
@ -55,6 +55,8 @@ public async Task ArchiveFileAsync(
|
|||
|
||||
// TODO: write to _options.RepositoryPath
|
||||
await using var target = file.Target.OpenWrite();
|
||||
|
||||
// TODO: validate multi-segment lists are archived correctly
|
||||
foreach (var textStream in textStreams)
|
||||
{
|
||||
await textStream.CopyToAsync(target, cancellationToken);
|
||||
|
|
|
|||
Loading…
Reference in a new issue