I'm trying to use my old service worker for server like file access but it don't work with lightingFS because:
fs.stat('/foo/', (e) => { console.log(e)});
show error:
the directory exists because fs.stat('/foo', ...) is working fine.
I need this to be working because I'm distinguishing directories from files using slash at the end of the directory. Probably my worker can be refactored but it would be nice if the library work the same as Node fs.