Delete removes whatever contents are stored under the given path.
(templatePath string)
| 138 | |
| 139 | // Delete removes whatever contents are stored under the given path. |
| 140 | func (l *InMemLoader) Delete(templatePath string) { |
| 141 | templatePath = l.normalize(templatePath) |
| 142 | l.lock.Lock() |
| 143 | defer l.lock.Unlock() |
| 144 | delete(l.files, templatePath) |
| 145 | } |