Yeah, instantaneous motion data doesn't make much sense, but the continuous motion data file also doesn't work all the time. InfiniTime will stop sending motion data if you have Raise To Wake and…
Yeah, this one is going to be a bit more complicated. The FUSE library does have [an unmount function](0f728ba15b/fuse/mount_lin
…
Could you perhaps elaborate on the problem you see?
Try this with something that returns data less commonly, such as battery
. Every time cat
tries to read from the file, it executes a…
In my opinion, "device" is unclear. I think it should be called "info" instead, that seems clearer.
This is not correct. If no content has been written, you should still create the file because the user might want to create a custom file using a command like touch
.
Use os.MkdirAll
here instead so that it creates parent directories, and handle the error (just return it).
Sorry it's taken me a while to respond. I wanted to test this PR but my PineTime wasn't booting. Now that I've gotten it to boot, I'll test this and get back to you.
The err
can be several different kinds of errors, and FSError
is just one of them. It's actually a type I made. You can see it here: https://gitea.arsenm.dev/Arsen6331/infinitime/src/commit/512…