+
Skip to content
This repository was archived by the owner on Aug 31, 2023. It is now read-only.

feat(rome_fs): implement a read-only mode for MemoryFileSystem #3897

Merged
merged 1 commit into from
Nov 29, 2022

Conversation

leops
Copy link
Contributor

@leops leops commented Nov 29, 2022

Summary

This PR adds a read-only mode for the MemoryFileSystem, intended to help with the testing in #3851 by avoiding the need to introduce additional tests relying on the OsFileSystem in the CLI test suite.

Test Plan

I've added a new test case to check the read-only filesystem reports the correct error when files are open with write access

@leops leops requested a review from ematipico as a code owner November 29, 2022 10:21
@netlify
Copy link

netlify bot commented Nov 29, 2022

Deploy Preview for docs-rometools ready!

Name Link
🔨 Latest commit f6a7f2c
🔍 Latest deploy log https://app.netlify.com/sites/docs-rometools/deploys/6385dd2763716c0008c23cae
😎 Deploy Preview https://deploy-preview-3897--docs-rometools.netlify.app/playground
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@leops leops merged commit f71a2b2 into main Nov 29, 2022
@leops leops deleted the feature/read-only-filesystem branch November 29, 2022 13:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载