Skip to main content
Go to Latest
function tryGetRepository
import { tryGetRepository } from "https://deno.land/x/fathym_everything_as_code@v0.1.63-integration/src/octokit/tryGetRepository.ts";

Try to find a repository.

Parameters

octokit: Octokit

The Octokit instance.

owner: string

The owner of the repository.

repository: string

The repository.

Returns

Promise<Repository | undefined>

The repository if it exists, otherwise undefined.