We now remember the path of each cached file, so when someone truncates that path, we can truncate all open instances of it in cache. Important when someone pipes to stomp a file / opens with O_TRUNC (which FUSE disaggregates into an open() and then a truncate() call). Gets rid of the need for FUSE_CAP_ATOMIC_O_TRUNC, which never worked on macOS anyway. Fixes #40.
|4 days ago|
|test-resources||4 weeks ago|
|Makefile||4 weeks ago|
|README.md||4 weeks ago|
|test.c||4 days ago|
|test.js||3 weeks ago|
Two separate test 'suites': one in
test.js that uses node, and one
test.c that is an integration test that actually tests against
the extension in browser.
Right now, you need to have Chrome open (I haven't tried Firefox or Safari), and you'll want to make sure a window other than the extension console is focused (the console is non-debuggable, so it breaks the test).
make in this folder.