remove directory from dirCache
(storage driver.Driver, dirPath string)
| 57 | |
| 58 | // remove directory from dirCache |
| 59 | func (cm *CacheManager) DeleteDirectory(storage driver.Driver, dirPath string) { |
| 60 | if storage.Config().NoCache { |
| 61 | return |
| 62 | } |
| 63 | cm.dirCache.Delete(Key(storage, dirPath)) |
| 64 | } |
| 65 | |
| 66 | // remove object from dirCache. |
| 67 | // if it's a directory, remove all its children from dirCache too. |
no test coverage detected