Skip to content
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

fix: allow setting custom file types beyond S_IFREG and S_IFDIR #1082

Merged
merged 1 commit into from
Jan 1, 2025

Conversation

kylecarbs
Copy link
Contributor

Prior to this change, the mode argument to Node and Volume was only used to set the file permissions.

@kylecarbs
Copy link
Contributor Author

Fixed up the formatting!

@kylecarbs
Copy link
Contributor Author

@G-Rath if you could take a look at this when you get a sec, that'd be awesome!

Copy link
Collaborator

@G-Rath G-Rath left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks looks good overall, just have a couple of questions

src/__tests__/node.test.ts Outdated Show resolved Hide resolved
src/node.ts Outdated Show resolved Hide resolved
src/volume.ts Outdated Show resolved Hide resolved
@kylecarbs
Copy link
Contributor Author

@G-Rath I appreciate the good review! All fixes have been done, and I made the Node default to the old mode for backward compatibility.

src/__tests__/node.test.ts Outdated Show resolved Hide resolved
Prior to this change, the `mode` argument to `Node` and `Volume`
was only used to set the file permissions.
@G-Rath G-Rath merged commit 24da3e7 into streamich:master Jan 1, 2025
10 checks passed
github-actions bot pushed a commit that referenced this pull request Jan 1, 2025
## [4.15.3](v4.15.2...v4.15.3) (2025-01-01)

### Bug Fixes

* allow setting custom file types beyond S_IFREG and S_IFDIR ([#1082](#1082)) ([24da3e7](24da3e7))
Copy link

github-actions bot commented Jan 1, 2025

🎉 This PR is included in version 4.15.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants