Skip to content

FileVersion

Source code in docs_src/capo_codecommit/types/file_version.py
class FileVersion(TypedDict, closed=True):
    commit: NotRequired["capo_codecommit.types.commit.Commit"]
    blob_id: NotRequired["capo_codecommit.types.object_id.ObjectId"]
    """<p>The blob ID of the object that represents the content of the file in this version.</p>"""
    path: NotRequired["capo_codecommit.types.path.Path"]
    """<p>The name and path of the file at which this blob is indexed which contains the data for this version of the file. This value will vary between file versions if a file is renamed or if its path changes.</p>"""
    revision_children: NotRequired[
        "capo_codecommit.types.revision_children.RevisionChildren"
    ]
    """<p>An array of commit IDs that contain more recent versions of this file. If there are no additional versions of the file, this array will be empty.</p>"""

blob_id instance-attribute

blob_id: NotRequired[ObjectId]

The blob ID of the object that represents the content of the file in this version.

commit instance-attribute

commit: NotRequired[Commit]

path instance-attribute

path: NotRequired[Path]

The name and path of the file at which this blob is indexed which contains the data for this version of the file. This value will vary between file versions if a file is renamed or if its path changes.

revision_children instance-attribute

revision_children: NotRequired[RevisionChildren]

An array of commit IDs that contain more recent versions of this file. If there are no additional versions of the file, this array will be empty.