feature/ci (#1)
Build & Push Docker image / build-and-push (push) Has been cancelled
ci / build_linux (push) Has been cancelled

Consolidate data and config into separate folders that will be expected to be mapped in the container

Reviewed-on: #1
Co-authored-by: Huy Nguyen <ecenshu@gmail.com>
Co-committed-by: Huy Nguyen <ecenshu@gmail.com>
This commit was merged in pull request #1.
This commit is contained in:
2025-11-13 09:11:21 +00:00
committed by ecenshu
parent 314af37b3d
commit a1ea34bc01
37 changed files with 511 additions and 295 deletions
@@ -25,7 +25,7 @@ public sealed class SeekableBufferedStream : Stream
}
private readonly List<BufferBlock> _blocks = new();
private readonly long _specifiedLength = 0;
private readonly long _specifiedLength;
private long _bufferedLength; // total number of bytes buffered so far
private long _position; // current logical position in the stream
private bool _eof; // true when the source stream has been exhausted
@@ -66,7 +66,14 @@ public sealed class SeekableBufferedStream : Stream
}
base.Dispose(disposing);
}
// SeekableBufferedStream.cs Add IAsyncDisposable support
public override async ValueTask DisposeAsync()
{
Dispose(true);
await Task.CompletedTask;
}
#endregion
#region helpers
@@ -244,6 +251,7 @@ public sealed class SeekableBufferedStream : Stream
bytesRead += toCopy;
}
await Task.CompletedTask;
return bytesRead;
}