Categorygithub.com/google/slothfs
module
0.0.0-20190717100203-59c1163fd173
Repository: https://github.com/google/slothfs.git
Documentation: pkg.go.dev

# README

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.

# Packages

Package cache implements a simplistic persistent cache based on the filesystem.
No description provided by the author
cookie parses curl cookie jar files.
No description provided by the author
Package gitiles is a client library for the Gitiles source viewer.
Package manifest manipulates Manifest files as described at https://gerrit.googlesource.com/git-repo/+/master/docs/manifest-format.txt.
Package populate holds the code to augment a partial R/W checkout with a symlink forest into a SlothFS workspace.