filepath_exists
if (!filepath_exists(tree, fn)) {
if (filepath_exists(tree, path)) {
if (filepath_exists(&rr->deleted, uri)) {