slothfs/gitiles: add HTTP client to service opts

This allows clients to provide their own HTTP clients for the gitiles
library to use instead of the default client. This is useful for clients
where authentication cannot be handled by the CookieJar.

Change-Id: Iff087d8fe5fbfcb6ed240195038eb98f217303e5
1 file changed
tree: 9e492bf995ac0399c630bb6576c6c4b5a746e3bd
  1. .gitignore
  5. all.bash
  6. android.json
  7. cache/
  8. cmd/
  9. cookie/
  10. docs/
  11. fs/
  12. gitiles/
  13. manifest/
  14. populate/

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
mkdir /tmp/mnt
slothfs-repofs /tmp/mnt &

To create a workspace “ws” corresponding to the latest manifest version

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