forked from fjall-rs/lsm-tree
-
Notifications
You must be signed in to change notification settings - Fork 1
feat(fs): MemFs — in-memory Fs implementation for testing and in-memory trees #208
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
Closed
polaz
wants to merge
26
commits into
main
from
feat/#187-featfs-memfs--in-memory-fs-implementation-for-test
Closed
Changes from 25 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
d051b11
feat(fs): add MemFs in-memory filesystem and pipe Fs through all I/O …
polaz 303361e
build: bump rust-toolchain.toml from 1.94.0 to 1.94.1
polaz 52f701a
fix(fs): retry temp file on AlreadyExists, validate open flags, corre…
polaz 8d6033e
style(file): fix import ordering for rustfmt 1.94.1
polaz 3520e08
fix(fs): return Option<bool> from FileAccessor for precise cache metrics
polaz afeccbd
fix(test): use byte comparisons in iter test, exercise with_shared_fs
polaz 53d24f0
fix(fs): MemFs::open returns error when opening a directory path
polaz e8ce4f2
fix(fs): seed root dir, correct Seek arithmetic, validate sync_directory
polaz f5b1030
fix(fs): MemFile::set_len requires write access, read_at requires rea…
polaz 0f599da
fix(fs): protect root dir invariant, distinguish file-vs-dir in read_…
polaz 74352ee
fix(fs): guard write position overflow, distinguish file-as-parent er…
polaz f9c2a21
style(fs): multi-line expect attribute for CI rustfmt
polaz 9451982
fix(fs): validate open flags before parent lookup, remove_file reject…
polaz e0b8973
fix(fs): improve create_dir_all error message for file-path conflicts
polaz 7e0fe3c
fix(fs): delegate fsync_directory to Fs backend on all platforms
polaz 8c33e29
test(fs): add read+append cursor regression test for MemFs
polaz adad93e
fix(fs): reject truncate+append combo, drop unwrap from Config::with_…
polaz 76f3b67
test(fs): wrong-type error paths and StdFs rename-replace
polaz cf46569
fix(fs): use map(|_| ()) for FsFile open error unwrap in test
polaz fee8a89
refactor(fs): extract ensure_parent_dir helper, empty write no-op
polaz 62e1fcf
fix(fs): reject empty paths, permission guard tests, doc clarity
polaz c20521e
docs(fs): document no-op behavior of FileAccessor remove methods
polaz 1cc66b4
fix(vlog): fail-fast on missing blobs folder when manifest references…
polaz 5662b67
fix(table,vlog): evict FD before remove_file, defer blob cache inserts
polaz e911497
fix(fs): replace as-usize casts with checked usize::try_from
polaz 093765c
fix(table): close pinned file handle before remove_file in Drop
polaz 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| [toolchain] | ||
| channel = "1.94.0" | ||
| channel = "1.94.1" | ||
| components = ["rustfmt", "clippy"] | ||
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.