commit | 2e678ba246d6c03ca40707cdd6cc9a56fa440a4e | [log] [tgz] |
---|---|---|
author | Han-Wen Nienhuys <hanwen@google.com> | Tue Aug 02 13:54:35 2016 +0200 |
committer | Han-Wen Nienhuys <hanwen@google.com> | Tue Aug 02 14:17:46 2016 +0200 |
tree | 529b81ffc6ee508fca04ba26d5e146a411302c7a | |
parent | 3a4731a7e8b9b7c17650235e3daf914738c5de39 [diff] |
Return open file as FOPEN_KEEP_CACHE. This avoid having to read contents for each file through the FUSE connection over and over again. Change-Id: I5f8606516a1fda6ca66e5baf6723b964b500082b
SlothFS is a FUSE filesystem that provides light-weight, lazily downloaded, read-only checkouts of manifest-based Git projects. It is intended for use with Android.
To start the file system:
go install github.com/google/slothfs/cmd/slothfs-multifs mkdir /tmp/mnt slothfs-multifs -gitiles https://android.googlesource.com/ /tmp/mnt &
To create a workspace “ws” corresponding to the latest manifest version
go install github.com/google/slothfs/cmd/slothfs-expand-manifest slothfs-expand-manifest --gitiles https://android.googlesource.com/ \ > /tmp/m.xml && ln -s /tmp/m.xml /tmp/mnt/config/ws
More details can be found in the manual.
This is not an official Google product.