Class: Braintrust::Models::RepoInfo
- Defined in:
- lib/braintrust/models/repo_info.rb
Instance Attribute Summary collapse
-
#author_email ⇒ String
Email of the author of the most recent commit.
-
#author_name ⇒ String
Name of the author of the most recent commit.
-
#branch ⇒ String
Name of the branch the most recent commit belongs to.
-
#commit ⇒ String
SHA of most recent commit.
-
#commit_message ⇒ String
Most recent commit message.
-
#commit_time ⇒ String
Time of the most recent commit.
-
#dirty ⇒ Boolean
Whether or not the repo had uncommitted changes when snapshotted.
-
#git_diff ⇒ String
If the repo was dirty when run, this includes the diff between the current state of the repo and the most recent commit.
-
#tag ⇒ String
Name of the tag on the most recent commit.
Method Summary
Methods inherited from BaseModel
#[], #initialize, #inspect, #to_h, #to_s
Constructor Details
This class inherits a constructor from Braintrust::BaseModel
Instance Attribute Details
#author_email ⇒ String
Email of the author of the most recent commit
9 |
# File 'lib/braintrust/models/repo_info.rb', line 9 optional :author_email, String |
#author_name ⇒ String
Name of the author of the most recent commit
14 |
# File 'lib/braintrust/models/repo_info.rb', line 14 optional :author_name, String |
#branch ⇒ String
Name of the branch the most recent commit belongs to
19 |
# File 'lib/braintrust/models/repo_info.rb', line 19 optional :branch, String |
#commit ⇒ String
SHA of most recent commit
24 |
# File 'lib/braintrust/models/repo_info.rb', line 24 optional :commit, String |
#commit_message ⇒ String
Most recent commit message
29 |
# File 'lib/braintrust/models/repo_info.rb', line 29 optional :commit_message, String |
#commit_time ⇒ String
Time of the most recent commit
34 |
# File 'lib/braintrust/models/repo_info.rb', line 34 optional :commit_time, String |
#dirty ⇒ Boolean
Whether or not the repo had uncommitted changes when snapshotted
39 |
# File 'lib/braintrust/models/repo_info.rb', line 39 optional :dirty, Braintrust::BooleanModel |
#git_diff ⇒ String
If the repo was dirty when run, this includes the diff between the current state of the repo and the most recent commit.
44 |
# File 'lib/braintrust/models/repo_info.rb', line 44 optional :git_diff, String |
#tag ⇒ String
Name of the tag on the most recent commit
49 |
# File 'lib/braintrust/models/repo_info.rb', line 49 optional :tag, String |