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

Implement File#symlink? for Node.js #1725

Closed
ggrossetie opened this issue Dec 27, 2017 · 0 comments
Closed

Implement File#symlink? for Node.js #1725

ggrossetie opened this issue Dec 27, 2017 · 0 comments

Comments

@ggrossetie
Copy link
Member

https://ruby-doc.org/core-2.2.0/File.html#method-c-symlink

We can implement this method using fs.lstatSync(path) and stats.isSymbolicLink(): https://nodejs.org/api/fs.html#fs_class_fs_stats

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

No branches or pull requests

1 participant