diff --git a/storage.go b/storage.go index 19427e5ab..2bc6b9ec3 100644 --- a/storage.go +++ b/storage.go @@ -1,13 +1,13 @@ package getter -// Storage is an interface that knows how to lookup downloaded modules -// as well as download and update modules from their sources into the +// Storage is an interface that knows how to lookup downloaded directories +// as well as download and update directories from their sources into the // proper location. type Storage interface { - // Dir returns the directory on local disk where the modulue source + // Dir returns the directory on local disk where the directory source // can be loaded from. Dir(string) (string, bool, error) - // Get will download and optionally update the given module. + // Get will download and optionally update the given directory. Get(string, string, bool) error }