3 // Storage is an interface that knows how to lookup downloaded directories
4 // as well as download and update directories from their sources into the
6 type Storage interface {
7 // Dir returns the directory on local disk where the directory source
9 Dir(string) (string, bool, error)
11 // Get will download and optionally update the given directory.
12 Get(string, string, bool) error