Sergiusz Bazanski | c881cf3 | 2020-04-08 20:03:12 +0200 | [diff] [blame^] | 1 | package source |
2 | |||||
3 | type Source interface { | ||||
4 | IsFile(path string) (bool, error) | ||||
5 | ReadFile(path string) ([]byte, error) | ||||
6 | IsDirectory(path string) (bool, error) | ||||
7 | |||||
8 | CacheSet(dependencies []string, key string, value interface{}) | ||||
9 | CacheGet(key string) interface{} | ||||
10 | } |