function has_manifest(dir) character(len=*), intent(in) :: dir logical :: has_manifest has_manifest = exists(join_path(dir, "fpm.toml")) end function has_manifest