Skip to content

File

Source code in docs_src/capo_codecommit/types/file.py
class File(TypedDict, closed=True):
    blob_id: NotRequired["capo_codecommit.types.object_id.ObjectId"]
    """<p>The blob ID that contains the file information.</p>"""
    absolute_path: NotRequired["capo_codecommit.types.path.Path"]
    """<p>The fully qualified path to the file in the repository.</p>"""
    relative_path: NotRequired["capo_codecommit.types.path.Path"]
    """<p>The relative path of the file from the folder where the query originated.</p>"""
    file_mode: NotRequired["capo_codecommit.types.file_mode_type_enum.FileModeTypeEnum"]
    """<p>The extrapolated file mode permissions for the file. Valid values include EXECUTABLE and NORMAL.</p>"""

absolute_path instance-attribute

absolute_path: NotRequired[Path]

The fully qualified path to the file in the repository.

blob_id instance-attribute

blob_id: NotRequired[ObjectId]

The blob ID that contains the file information.

file_mode instance-attribute

file_mode: NotRequired[FileModeTypeEnum]

The extrapolated file mode permissions for the file. Valid values include EXECUTABLE and NORMAL.

relative_path instance-attribute

relative_path: NotRequired[Path]

The relative path of the file from the folder where the query originated.