Class: Braintrust::Models::RepoInfo

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/braintrust/models/repo_info.rb

Instance Attribute Summary collapse

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_emailString

Email of the author of the most recent commit

Returns:

  • (String)


9
# File 'lib/braintrust/models/repo_info.rb', line 9

optional :author_email, String

#author_nameString

Name of the author of the most recent commit

Returns:

  • (String)


14
# File 'lib/braintrust/models/repo_info.rb', line 14

optional :author_name, String

#branchString

Name of the branch the most recent commit belongs to

Returns:

  • (String)


19
# File 'lib/braintrust/models/repo_info.rb', line 19

optional :branch, String

#commitString

SHA of most recent commit

Returns:

  • (String)


24
# File 'lib/braintrust/models/repo_info.rb', line 24

optional :commit, String

#commit_messageString

Most recent commit message

Returns:

  • (String)


29
# File 'lib/braintrust/models/repo_info.rb', line 29

optional :commit_message, String

#commit_timeString

Time of the most recent commit

Returns:

  • (String)


34
# File 'lib/braintrust/models/repo_info.rb', line 34

optional :commit_time, String

#dirtyBoolean

Whether or not the repo had uncommitted changes when snapshotted

Returns:

  • (Boolean)


39
# File 'lib/braintrust/models/repo_info.rb', line 39

optional :dirty, Braintrust::BooleanModel

#git_diffString

If the repo was dirty when run, this includes the diff between the current state of the repo and the most recent commit.

Returns:

  • (String)


44
# File 'lib/braintrust/models/repo_info.rb', line 44

optional :git_diff, String

#tagString

Name of the tag on the most recent commit

Returns:

  • (String)


49
# File 'lib/braintrust/models/repo_info.rb', line 49

optional :tag, String