({
fileCount = DEFAULT_FILE_COUNT,
linesPerFile = DEFAULT_LINES_PER_FILE,
changedStartLine,
changedEndLine,
contentVariant = "ascii",
}: LargeSplitStreamFixtureOptions = {})
| 123 | } |
| 124 | |
| 125 | export function createLargeSplitStreamBootstrap({ |
| 126 | fileCount = DEFAULT_FILE_COUNT, |
| 127 | linesPerFile = DEFAULT_LINES_PER_FILE, |
| 128 | changedStartLine, |
| 129 | changedEndLine, |
| 130 | contentVariant = "ascii", |
| 131 | }: LargeSplitStreamFixtureOptions = {}): AppBootstrap { |
| 132 | return { |
| 133 | input: { |
| 134 | kind: "vcs", |
| 135 | staged: false, |
| 136 | options: { |
| 137 | mode: "auto", |
| 138 | }, |
| 139 | }, |
| 140 | changeset: { |
| 141 | id: `changeset:large-split-stream:${fileCount}:${linesPerFile}:${contentVariant}`, |
| 142 | sourceLabel: "repo", |
| 143 | title: "repo working tree", |
| 144 | files: createLargeSplitStreamFiles({ |
| 145 | fileCount, |
| 146 | linesPerFile, |
| 147 | changedStartLine, |
| 148 | changedEndLine, |
| 149 | contentVariant, |
| 150 | }), |
| 151 | }, |
| 152 | initialMode: "split", |
| 153 | initialTheme: "midnight", |
| 154 | initialShowAgentNotes: false, |
| 155 | }; |
| 156 | } |
| 157 | |
| 158 | /** |
| 159 | * Build one giant single-file DiffFile by synthesizing unified patch text directly. |
no test coverage detected