Skip to content

GetFileResponse

Source code in docs_src/capo_amplifygen3/types/get_file_response.py
class GetFileResponse(TypedDict, closed=True):
    file_path: "str"
    """<p>The path of the file that was returned.</p>"""
    content: "bytes"
    """<p>The contents of the file.</p>"""
    sha: "str"
    """<p>The Git object ID (blob SHA) of the file's contents. It changes whenever the file's contents change.</p>"""
    size: "int"
    """<p>The size of the file, in bytes.</p>"""

content instance-attribute

content: bytes

The contents of the file.

file_path instance-attribute

file_path: str

The path of the file that was returned.

sha instance-attribute

sha: str

The Git object ID (blob SHA) of the file's contents. It changes whenever the file's contents change.

size instance-attribute

size: int

The size of the file, in bytes.