Skip to content

Commit

Permalink
Can remove path from local file system cache.
Browse files Browse the repository at this point in the history
  • Loading branch information
clementlandrin authored and clementlandrin committed Dec 21, 2023
1 parent acafbd7 commit 9fa3157
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions hxd/fs/LocalFileSystem.hx
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,10 @@ class LocalFileSystem implements FileSystem {
}
}

public function removePathFromCache(path : String) {
fileCache.remove(path);
}

public function exists( path : String ) {
var f = open(path);
return f != null;
Expand Down

0 comments on commit 9fa3157

Please sign in to comment.