* Get session diff * * Get all file changes (diffs) made during this session.
(
parameters: {
sessionID: string
directory?: string
messageID?: string
},
options?: Options<never, ThrowOnError>,
)
| 1226 | * Get all file changes (diffs) made during this session. |
| 1227 | */ |
| 1228 | public diff<ThrowOnError extends boolean = false>( |
| 1229 | parameters: { |
| 1230 | sessionID: string |
| 1231 | directory?: string |
| 1232 | messageID?: string |
| 1233 | }, |
| 1234 | options?: Options<never, ThrowOnError>, |
| 1235 | ) { |
| 1236 | const params = buildClientParams( |
| 1237 | [parameters], |
| 1238 | [ |
| 1239 | { |
| 1240 | args: [ |
| 1241 | { in: "path", key: "sessionID" }, |
| 1242 | { in: "query", key: "directory" }, |
| 1243 | { in: "query", key: "messageID" }, |
| 1244 | ], |
| 1245 | }, |
| 1246 | ], |
| 1247 | ) |
| 1248 | return (options?.client ?? this.client).get<SessionDiffResponses, SessionDiffErrors, ThrowOnError>({ |
| 1249 | url: "/session/{sessionID}/diff", |
| 1250 | ...options, |
| 1251 | ...params, |
| 1252 | }) |
| 1253 | } |
| 1254 | |
| 1255 | /** |
| 1256 | * Summarize session |
nothing calls this directly
no test coverage detected