https://github.com/generouslabs/expo-fs
A wrapper around expo's FileSystem that matches node's FS api. Built to support isomorphic-git on expo.
https://github.com/generouslabs/expo-fs
expo expo-filesystem
Last synced: about 1 year ago
JSON representation
A wrapper around expo's FileSystem that matches node's FS api. Built to support isomorphic-git on expo.
- Host: GitHub
- URL: https://github.com/generouslabs/expo-fs
- Owner: GenerousLabs
- License: agpl-3.0
- Created: 2020-11-13T12:29:40.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-12-03T22:42:44.000Z (over 5 years ago)
- Last Synced: 2025-06-13T01:04:18.424Z (about 1 year ago)
- Topics: expo, expo-filesystem
- Language: TypeScript
- Homepage: https://generouslabs.github.io/expo-fs/
- Size: 588 KB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# expo-fs
A wrapper around expo's
[FileSystem](https://docs.expo.io/versions/latest/sdk/filesystem/) that
matches node's FS api. Built to support
[isomorphic-git](https://isomorphic-git.org/) on [expo](https://expo.io/).
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](https://github.com/GenerousLabs/expo-fs)