pub fn digest(def: &HookDef, root: &Path) -> Digested
def’s digest with the files it runs as they are under root.
def
root