Compare two directory states.
compare_state(old, new)
old
previous state
new
current state
list containing number of changes and files which have been added, deleted and modified
added
deleted
modified