expo-fs
TypeScript icon, indicating that this package has built-in type declarations

0.2.2 • Public • Published

expo-fs

A wrapper around expo's FileSystem that matches node's FS api. Built to support isomorphic-git on expo.

Limitations:

  • Expo doesn't support file modes
    • Currently we return 0o644 all the time. This might cause issues, but in an expo context, there are no executable files, so unclear what to do here. Most likely, isomorphic-git writes the permissions, we ignore them, and hopefully it never checks them.
  • Expo doesn't support symlinks
    • Currently we throw in the link related methods.
    • Git itself (including ismorphic-git) doesn't rely on symlinks.
    • This is probably okay for repos which don't include symlinks.

GitHub

Readme

Keywords

none

Package Sidebar

Install

npm i expo-fs

Weekly Downloads

6

Version

0.2.2

License

AGPL-3.0-or-later

Unpacked Size

320 kB

Total Files

17

Last publish

Collaborators

  • chmac