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.
| 6 | // as well as download and update directories from their sources into the |
| 7 | // proper location. |
| 8 | type Storage interface { |
| 9 | // Dir returns the directory on local disk where the directory source |
| 10 | // can be loaded from. |
| 11 | Dir(string) (string, bool, error) |
| 12 | |
| 13 | // Get will download and optionally update the given directory. |
| 14 | Get(context.Context, string, string, bool) error |
| 15 | } |
no outgoing calls
no test coverage detected