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

Implemented deno.chmodSync #672

Closed
wants to merge 2 commits into from
Closed

Implemented deno.chmodSync #672

wants to merge 2 commits into from

Conversation

srijanreddy98
Copy link
Contributor

I have implemented chmodSync for mac/linux os users.
Prior art:
Go: func Chmod(name string, mode FileMode) error

Node: fs.chmod(file, mode, callback){

Python: os.chmod(path, mode);

pub fn set_permissions<P: AsRef>(path: P, perm: Permissions) -> Result<()>

Permissions struct in Rust doesn't allow anything apart from -r--r--r-- or -rw-rw-rw

@CLAassistant
Copy link

CLAassistant commented Sep 4, 2018

CLA assistant check
All committers have signed the CLA.

ry pushed a commit that referenced this pull request Oct 26, 2018
hardfist pushed a commit to hardfist/deno that referenced this pull request Aug 7, 2024
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.

2 participants