FUSE file system for lightweight android checkouts.

Clone this repo:

Branches

  1. 4e8678d Use github.com/src-d/go-git for improved deployability. by Han-Wen Nienhuys · 6 weeks ago master
  2. ecdd255 slothfs/gitiles: add HTTP client to service opts by Billy Lynch · 9 months ago
  3. d42875c Add gitiles host FS. by Han-Wen Nienhuys · 11 months ago
  4. 9d2e49d slothfs-gitilesfs: exit on errors. by Han-Wen Nienhuys · 11 months ago
  5. feb6f87 Add NewGitilesConfigFSRoot. by Han-Wen Nienhuys · 11 months ago

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.

How to use

To start the file system:

go install github.com/google/slothfs/cmd/slothfs-repofs
mkdir /tmp/mnt
slothfs-repofs /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.

DISCLAIMER

This is not an official Google product.