Alessandro Strada
Alessandro Strada
Sure thing! Feel free to open the PR if there are no problems with the automatic code generation.
Multi-threading works. The library was written before lwt was available, so it was not considered at the time. Adding lwt support is a lot of work, because it requires rewriting...
>re: use of threads, it looks maybe this bit of the google-ocamlfuse (and the use of this function elsewhere in the module) might be a good place to look for...
Well, this repo is from 2012, so at the time there was no official monadic syntax. The original repo used [pa_monad](http://www.cas.mcmaster.ca/~carette/pa_monad/), then it was updated to use [ppx_monadic](http://opam.ocaml.org/packages/ppx_monadic/) which unfortunately...
In the main library, I'm using some minor features of Ocamlnet: - Netdate: - [gapiDate.mli](https://github.com/astrada/gapi-ocaml/blob/master/src/gapi/gapiDate.mli) - [gapiDate.ml](https://github.com/astrada/gapi-ocaml/blob/master/src/gapi/gapiDate.ml) - Netchannels.pipe: - [gapiPipe.mli](https://github.com/astrada/gapi-ocaml/blob/master/src/gapi/gapiPipe.mli) - [gapiPipe.ml](https://github.com/astrada/gapi-ocaml/blob/master/src/gapi/gapiPipe.ml) - Neturl and Netencoding: - [gapiAuth.ml](https://github.com/astrada/gapi-ocaml/blob/master/src/gapi/gapiAuth.ml) -...
Have you tried configuring a `TimeoutStopSec=` to delay the process termination? There is a loop to check for termination that runs every second, before joining the thread that gets killed...
>Is it a bug or default behaviour to download files of a directory immediately independent of the file size? Navigating with shell/bash/etc. won't download files unless you access them. But...
>And is there a specific reasons why listing the files in an explorer needs downloading them, not when they are accessed? Usually explorers like to show some kind of preview...
Check this comment (https://github.com/astrada/google-drive-ocamlfuse/issues/764#issuecomment-1076281507), maybe you can do the same.
If you need a full sync, you should use something like [rclone](https://github.com/rclone/rclone) or [drive](https://github.com/odeke-em/drive).