commit | 062f18b6db7144a9c0d0138a4d24d6a15aaefc0b | [log] [tgz] |
---|---|---|
author | Han-Wen Nienhuys <hanwen@google.com> | Mon Aug 08 14:38:13 2016 +0200 |
committer | Han-Wen Nienhuys <hanwen@google.com> | Mon Aug 08 17:29:35 2016 +0200 |
tree | 5de4966330d964fca439da95c5bf2d6bfd9a54da | |
parent | b29273f383c631f51f8230ccef29be65e4701d82 [diff] |
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.