I'm using VFS2 to construct an in-memory filesystem (uring the ram
scheme) for tests. After each test I've to clean up (destroy all created files and folders), I'm using the following command:
VFS.getManager().getFilesCache().close();
However this doesn't seem to clear everything! what's the proper way to do it?
According to the Javadoc FileCache only closes the cache.
The last line clears the filecache of the filesystem and will close the filesystem passed in