def get_patch_head(path): return int(utils.read_nearest_file('.PATCH_HEAD', path).strip())
def get_patch_repo_path(path): """Return location of PR""" patch_repo_path = utils.read_nearest_file('.PATCH_REPO', path).strip() return patch_repo_path