Râu Cao

Results 598 comments of Râu Cao

Currently, large file uploads are not something that the library has been optimized for. It would load the whole file in memory and do a single HTTP request, which will...

> Without solving all the problems, one improvement, might be to circumvent holding the whole file in memory when uploading. Like passing the stream directly to client.storeFile, instead of the...

Just an update, because I found this open issue: we're in the process of adding support for resumable/large file uploads: https://community.remotestorage.io/t/resumable-file-uploads/461

Not sure I understand. Why do you have to put a lock on it, when you can update it as soon as `getObject`'s promise resolves? The idea was that it's...

@michielbdejong Any insight on my question?

Thanks. I don't understand the conflict event part. If you expect people to use the app at the same time from different devices, then this function doesn't make any difference...

I just realized that we have a very similar issue with #873. If we had a locking mechanism, we could also implement that one without the risk of having new...

... I also talked to @galfert about this earlier. As it's a *ton* of code to port, we agreed that it makes sense to share this work. Any and all...

I should have looked into using TypeScript directly in the tests, of course. It is possible with `ts-node`... (Aside from TS auto-completion and validation, this way we also don't need...

Got it working! See latest commit. (`npm run test:watch` FTW!) Already found two hidden bugs this way: one was just unnecessary test code, but the other was breaking the RS...