MCPcopy Index your code
hub / github.com/questdb/questdb / remove

Method remove

core/src/main/java/io/questdb/std/FdCache.java:212–216  ·  view source on GitHub ↗

Removes file path from cache when file is deleted.

(LPSZ lpsz)

Source from the content-addressed store, hash-verified

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.

Callers

nothing calls this directly

Calls 3

removeMethod · 0.95
removeMethod · 0.65
ptrMethod · 0.65

Tested by

no test coverage detected