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

Add missing methods #48

Open
1 of 28 tasks
piranna opened this issue Jun 7, 2017 · 1 comment
Open
1 of 28 tasks

Add missing methods #48

piranna opened this issue Jun 7, 2017 · 1 comment

Comments

@piranna
Copy link

piranna commented Jun 7, 2017

Now that we are in a frenzy, let's check the missing Node.js fs API methods :-D We'll focus only on async ones since sync ones don't make too much sense on network operations (except when using async / await...).

  • access
  • appendFile
  • chmod
  • chown
  • close
  • copyFile (possible with [email protected])
  • createWriteStream
  • fchmod
  • fchown
  • fdatasync
  • fstat
  • fsync
  • ftruncate
  • futimes
  • lchmod
  • lchown
  • link
  • lstat
  • mkdtemp
  • open
  • read
  • readlink
  • realpath
  • rmdir
  • symlink
  • truncate
  • utimes
  • write

Probably the file descriptor ones can't be implemented or don't make too much sense in a WebDAV environment, but would be nice to give them a though. Symlinks are not part of "basic" WebDAV spec, but there are standard extension RFCs that add support for them, only thing that they should be checked first if the server support them with an OPTIONS request when connecting to them.

@piranna
Copy link
Author

piranna commented Jun 7, 2017

Now that I think about it, for file descriptor functions, don't know if the LOCK and UNLOCK methods are just for them, hum...

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

No branches or pull requests

2 participants