This is pertinent to making EFS work with isomorphic git in js-polykey. All of our current methods work by promises but are exposed in the main object whereas the fs interface describes them as being part of a promises API exposed at fs.promises.
Another thing is lstat does not work properly yet as it only propagates the upperDir method and it might not be loaded. This should be changed to propagating the lowerDir method.
We should adapt EFS to the File System Interface.
This is pertinent to making EFS work with isomorphic git in js-polykey. All of our current methods work by promises but are exposed in the main object whereas the fs interface describes them as being part of a
promises
API exposed atfs
.promises
.Another thing is
lstat
does not work properly yet as it only propagates theupperDir
method and it might not be loaded. This should be changed to propagating thelowerDir
method.related to https://github.com/MatrixAI/js-polykey/pull/43#discussion_r446655767