UNPKG

octokit-plugin-create-pull-request

Version:

Octokit plugin to create a pull request with multiple file changes

14 lines (13 loc) 388 B
import type { Octokit } from "@octokit/core"; import type { File } from "./types.js"; export declare function valueToTreeObject(octokit: Octokit, owner: string, repo: string, path: string, value: string | File): Promise<{ path: string; mode: string; content: string; sha?: undefined; } | { path: string; mode: string; sha: string; content?: undefined; }>;