Hashtree data structure over a directory featuring incremental actualization and linear-time comparison