GetBlobDifferencesInput
¶
Source code in docs_src/capo_codecommit/types/get_blob_differences_input.py
after_blob_id
instance-attribute
¶
after_blob_id: ObjectId
The ID of the "after" (destination) blob in the diff. Typically the value of afterBlob.blobId from a Difference object returned by GetDifferences.
before_blob_id
instance-attribute
¶
before_blob_id: NotRequired[ObjectId]
The ID of the "before" (source) blob in the diff. Typically the value of beforeBlob.blobId from a Difference object returned by GetDifferences.
If you do not specify a value, the operation returns a diff against an empty before-state. This is equivalent to treating the file as newly added.
context_lines
instance-attribute
¶
context_lines: NotRequired[DiffContext]
The number of unchanged lines of context to include before and after each block of changes in a hunk. Valid values are 0 through 20. Defaults to 3.
ignore_whitespace
instance-attribute
¶
ignore_whitespace: NotRequired[IgnoreWhiteSpaces]
Specifies whether to ignore whitespace-only changes when computing the diff. When true, the operation treats lines that differ only in whitespace as unchanged. Defaults to false.
max_results
instance-attribute
¶
max_results: NotRequired[Limit]
The maximum number of DiffHunk entries to return in a single response page. Defaults to 100.
next_token
instance-attribute
¶
next_token: NotRequired[NextToken]
An enumeration token that returns the next batch of results when present in a request.
repository_name
instance-attribute
¶
repository_name: RepositoryName
The name of the repository that contains the blobs to compare.