Repository navigation
feat: add mock support for OpenHandle and IRandomAccess
#1082
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 8 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
96f7afb
feat: add mock support for `OpenHandle` and `IRandomAccess`
Mpdreamz f6c29f3
fix: address review findings on the random-access mock
Mpdreamz e6ad1cc
fix: hold handles from elsewhere to the same rules
Mpdreamz 27b2626
fix: gate the mock's `SetLength` on the same flag as the interface
Mpdreamz 40d6e6f
chore: consume the released interface and restore the build scope
Mpdreamz 81eb0c6
chore: keep only the comments that explain a non-obvious why
Mpdreamz 60a42f7
fix: match the real file system's `DeleteOnClose` and resize behaviour
Mpdreamz 9360bd7
fix: `RandomAccess.Write` honours the offset on an append handle
Mpdreamz 65e1062
docs: describe `RandomAccess` and handles from the abstraction
Mpdreamz d140451
chore: leave the test project files as they are on main
44fad35
refactor: share the open checks between `FileStreamMock` and `OpenHan…
ff6e2d9
fix: address the review of the handle registry and `RandomAccessMock`
d77a29c
test: enforce statistics coverage for `IRandomAccess`
cbcdf10
docs: describe when a closed handle takes effect
3b4754d
fix: record `RandomAccess` span buffers on .NET 6 and 8
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.