Setup is to run a Docker container and use Wash to navigate to some point in its filesystem. Depending on where you are, running wclear . doesn't actually clear cached data. whistory output is the clearest way to demonstrate that.
Running the same thing against the parent directory, the fs entry is deleted from the cache.
This appears to happen because wclear clears any cache items related to the entry and its parent. However the fs/usr/local entry itself is derived from the fs entry and there are no actual cache entries that contain it or its parent.
Setup is to run a Docker container and use Wash to navigate to some point in its filesystem. Depending on where you are, running
wclear .
doesn't actually clear cached data.whistory
output is the clearest way to demonstrate that.The 2nd line of output shows nothing was deleted from the cache.
Running the same thing against the parent directory, the
fs
entry is deleted from the cache.This appears to happen because
wclear
clears any cache items related to the entry and its parent. However thefs/usr/local
entry itself is derived from thefs
entry and there are no actual cache entries that contain it or its parent.