Add -sync option to slothfs-populate.

This option creates a workspace from a freshly dereferenced manifest,
and populates the checkout with symlinks to the checkout.

Change-Id: I0e8d63f5bb05e4fe1a066627c2a7b88920e4300e
4 files changed
tree: a9f32792e006b56cb148b27f73715b683f93c836
  1. cache/
  2. cmd/
  3. cookie/
  4. docs/
  5. fs/
  6. gitiles/
  7. manifest/
  8. populate/
  9. .gitignore
  10. all.bash
  11. android.json
  12. CONTRIBUTING
  13. LICENSE
  14. README.md
README.md

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-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.

DISCLAIMER

This is not an official Google product.