Location
¶
Used by
Source code in docs_src/capo_codecommit/types/location.py
file_path
instance-attribute
¶
file_path: NotRequired[Path]
The name of the file being compared, including its extension and subdirectory, if any.
file_position
instance-attribute
¶
file_position: NotRequired[Position]
The position of a change in a compared file, in line number format.
relative_file_version
instance-attribute
¶
relative_file_version: NotRequired[RelativeFileVersionEnum]
In a comparison of commits or a pull request, whether the change is in the before or after of that comparison.