Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* githubfs: basic file and directory reading Still WIP. Needed patch the bootloader to ignore nonlocal requests. This is a temporary workaround, in the future we want to make a special endpoint for external requests and monkeypatch fetch to use it for external hostnames. * githubfs: fix `ReadDir`, mount in filesystem, and tidying The filesystem is read only for now, but commands like `ls` and `cat` work great. You'll have to paste your own Github Token in `fs.go`, ideally we can pull this from the shell environment but the shell might not even be compiled by the time `githubfs` is mounted. * githubfs: index by branch * githubfs: sync branches and fix `ReadDir` Moved `ReadDir` since there's no point in making it a top level func. Enforce using basename for `fileInfo.name` to match the API, added extra branch/path info. This is starting to get messy. After adding directory and write operations I want to review and maybe refactor. * githubfs: file creation, writing, and seeking Abstract requesting into it's own function. Implement proper reading/writing instead of reusing the response's `ReadCloser`. * githubfs: WIP `Remove` implementation Doesn't support directories or `RemoveAll`, but now you can delete files. * indexedfs: small stuff
- Loading branch information