newstate
The "newstate" should be set to a value which changes if the contents of a directory change through an addition or deletion but stays the same otherwise.
The "newstate" should be set to a value which changes if the contents of a directory change through an addition or deletion but stays the same otherwise.