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(node): Implement fs.lchown (and process.getegid) #24418

Merged
merged 6 commits into from
Jul 5, 2024

Conversation

nathanwhit
Copy link
Member

Closes #21260.
Part of #18218.

Implements node:fs.lchown, and enables the node_compat test for it. The test uses process.getegid, which we didn't have implemented, so I went ahead and implemented that as well to get the test working.

@nathanwhit nathanwhit changed the title feat(node): Implement fs.lchown (and process.getegid) fix(node): Implement fs.lchown (and process.getegid) Jul 4, 2024
ext/node/ops/fs.rs Outdated Show resolved Hide resolved
ext/node/ops/os/mod.rs Show resolved Hide resolved
Copy link
Member

@littledivy littledivy left a comment

Choose a reason for hiding this comment

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

LGTM

@nathanwhit nathanwhit enabled auto-merge (squash) July 5, 2024 18:12
@nathanwhit nathanwhit merged commit d4d3a3c into denoland:main Jul 5, 2024
17 checks passed
@nathanwhit nathanwhit deleted the node-fs-lchown branch July 5, 2024 18:34
zebreus pushed a commit to zebreus/deno that referenced this pull request Jul 8, 2024
)

Closes denoland#21260.
Part of denoland#18218.

Implements `node:fs.lchown`, and enables the node_compat test for it.
The test uses `process.getegid`, which we didn't have implemented, so I
went ahead and implemented that as well to get the test working.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Why is there no node:fs.lchown and why is there no substitute for it?
2 participants