vc-file-tree-walk

vc-file-tree-walk is a compiled Lisp function in `vc.el'.

(vc-file-tree-walk DIRNAME FUNC &rest ARGS)

Walk recursively through DIRNAME.
Invoke FUNC f ARGS on each VC-managed file f underneath it.