Skip to content

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

Merged
G-Rath merged 1 commit intostreamich:masterfrom
kylecarbs:master
Jan 1, 2025
Merged

fix: allow setting custom file types beyond S_IFREG and S_IFDIR#1082
G-Rath merged 1 commit intostreamich:masterfrom
kylecarbs:master

Conversation

@kylecarbs
Copy link
Copy Markdown
Contributor

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

@kylecarbs
Copy link
Copy Markdown
Contributor Author

Fixed up the formatting!

@kylecarbs
Copy link
Copy Markdown
Contributor Author

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

Copy link
Copy Markdown
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

Comment thread src/__tests__/node.test.ts Outdated
Comment thread src/node.ts Outdated
Comment thread src/volume.ts Outdated
@kylecarbs
Copy link
Copy Markdown
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.

Comment thread src/__tests__/node.test.ts Outdated
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
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))
@github-actions
Copy link
Copy Markdown
Contributor

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