Removes file path from cache when file is deleted.
(LPSZ lpsz)
| 210 | * Removes file path from cache when file is deleted. |
| 211 | */ |
| 212 | public synchronized boolean remove(LPSZ lpsz) { |
| 213 | // Even if we cannot remove, remove the fd from cache anyway |
| 214 | openFdMapByPath.remove(lpsz); |
| 215 | return Files.remove(lpsz.ptr()); |
| 216 | } |
| 217 | |
| 218 | /** |
| 219 | * Renames file in the filesystem and updates cache. |