diff --git a/Cargo.lock b/Cargo.lock index dd4237bc..7f9a58a7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1313,7 +1313,7 @@ checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273" [[package]] name = "memofs" -version = "0.3.0" +version = "0.3.1" dependencies = [ "crossbeam-channel", "fs-err", diff --git a/Cargo.toml b/Cargo.toml index c5b62e16..d8f34311 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -46,7 +46,7 @@ name = "build" harness = false [dependencies] -memofs = { version = "0.3.0", path = "crates/memofs" } +memofs = { version = "0.3.1", path = "crates/memofs" } # These dependencies can be uncommented when working on rbx-dom simultaneously # rbx_binary = { path = "../rbx-dom/rbx_binary", features = [ diff --git a/crates/memofs/CHANGELOG.md b/crates/memofs/CHANGELOG.md index 85b51523..b83bfeaf 100644 --- a/crates/memofs/CHANGELOG.md +++ b/crates/memofs/CHANGELOG.md @@ -1,6 +1,8 @@ # memofs Changelog ## Unreleased Changes + +## 0.3.1 (2025-11-27) * Added `Vfs::exists`. [#1169] * Added `create_dir` and `create_dir_all` to allow creating directories. [#937] diff --git a/crates/memofs/Cargo.toml b/crates/memofs/Cargo.toml index 8c2e8875..ad0b2637 100644 --- a/crates/memofs/Cargo.toml +++ b/crates/memofs/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "memofs" description = "Virtual filesystem with configurable backends." -version = "0.3.0" +version = "0.3.1" authors = [ "Lucien Greathouse ", "Micah Reid ", diff --git a/crates/memofs/src/noop_backend.rs b/crates/memofs/src/noop_backend.rs index dd10d452..98b86d1a 100644 --- a/crates/memofs/src/noop_backend.rs +++ b/crates/memofs/src/noop_backend.rs @@ -31,17 +31,11 @@ impl VfsBackend for NoopBackend { } fn create_dir(&mut self, _path: &Path) -> io::Result<()> { - Err(io::Error::new( - io::ErrorKind::Other, - "NoopBackend doesn't do anything", - )) + Err(io::Error::other("NoopBackend doesn't do anything")) } fn create_dir_all(&mut self, _path: &Path) -> io::Result<()> { - Err(io::Error::new( - io::ErrorKind::Other, - "NoopBackend doesn't do anything", - )) + Err(io::Error::other("NoopBackend doesn't do anything")) } fn remove_file(&mut self, _path: &Path) -> io::Result<()> {