perry-mitchell / webdav-fs

Node fs wrapper for WebDAV
MIT License
94 stars 21 forks source link

Add missing methods #48

Open piranna opened 7 years ago

piranna commented 7 years ago

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...).

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 commented 7 years ago

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