Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

FileDiff

import type { FileDiff } from "https://googleapis.deno.dev/v1/securesourcemanager:v1.ts";

Metadata of a FileDiff. FileDiff represents a single file diff in a pull request.

interface FileDiff {
readonly action?:
| "ACTION_UNSPECIFIED"
| "ADDED"
| "MODIFIED"
| "DELETED";
readonly name?: string;
readonly patch?: string;
readonly sha?: string;
}

§Properties

§
readonly action?: "ACTION_UNSPECIFIED" | "ADDED" | "MODIFIED" | "DELETED"
[src]

Output only. The action taken on the file (eg. added, modified, deleted).

§
readonly name?: string
[src]

Output only. The name of the file.

§
readonly patch?: string
[src]

Output only. The git patch containing the file changes.

§
readonly sha?: string
[src]

Output only. The commit pointing to the file changes.