Branch
🛈 DocStrings¶
Source code in src/githarbor/core/models.py
created_at
class-attribute
instance-attribute
¶
Date and time when the branch was created.
default
class-attribute
instance-attribute
¶
Whether this is the default branch of the repository.
last_commit_author
class-attribute
instance-attribute
¶
last_commit_author: User | None = None
Author of the last commit.
last_commit_date
class-attribute
instance-attribute
¶
Date of the last commit.
last_commit_message
class-attribute
instance-attribute
¶
Message of the last commit.
protected
class-attribute
instance-attribute
¶
Whether the branch has protection rules enabled.
protection_rules
class-attribute
instance-attribute
¶
Branch protection settings if any.
updated_at
class-attribute
instance-attribute
¶
Date and time when the branch was last updated.