MCPcopy Create free account
hub / github.com/backnotprop/plannotator / GitLabDiffEntry

Interface GitLabDiffEntry

packages/shared/pr-gitlab.ts:37–48  ·  view source on GitHub ↗

Shape of each entry from the GitLab merge_request diffs API

Source from the content-addressed store, hash-verified

35
36/** Shape of each entry from the GitLab merge_request diffs API */
37interface GitLabDiffEntry {
38 diff: string;
39 old_path: string;
40 new_path: string;
41 new_file: boolean;
42 deleted_file: boolean;
43 renamed_file: boolean;
44 /** Content withheld because the file's diff exceeds GitLab's size limits. Absent on older GitLab. */
45 too_large?: boolean | null;
46 /** Diff collapsed (content omitted from the response). Absent on older GitLab. */
47 collapsed?: boolean | null;
48}
49
50export { parsePaginatedArray } from "./cli-pagination";
51import { parsePaginatedArray } from "./cli-pagination";

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected