Member Junction
    Preparing search index...

    A single file addition, modification, or deletion in an atomic Git Data API commit.

    interface GitHubFileChange {
        content?: string;
        delete?: boolean;
        encoding?: "utf-8" | "base64";
        path: string;
    }
    Index

    Properties

    content?: string

    File content (required unless delete: true).

    delete?: boolean

    Set true to delete the file from the tree (sha: null).

    encoding?: "utf-8" | "base64"

    Content encoding: 'utf-8' (default) or 'base64'.

    path: string

    Repository-relative file path (forward slashes, no leading slash).