Also insert trees into cache if they came from a Git repository. If Git repositories are on spinning storage, the trees are relatively expensive to construct. Change-Id: I49680a5b254f0f2b0c0190e439c512ce2625a3fb
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 /tmp/mnt &
To create a workspace “ws” corresponding to the latest manifest version
go install github.com/google/slothfs/cmd/slothfs-deref-manifest slothfs-deref-manifest > /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.