ClearDownloadCache clears the download cache. This is primarily used for testing.
()
| 83 | |
| 84 | // ClearDownloadCache clears the download cache. This is primarily used for testing. |
| 85 | func ClearDownloadCache() { |
| 86 | downloadCache = sync.Map{} |
| 87 | symlinkMutexes = sync.Map{} |
| 88 | } |
| 89 | |
| 90 | type cacheContent struct { |
| 91 | sourceUrl string |
no outgoing calls