Sha256: 413cc30a5101ade3cc4542bdc31ccd41a667a8fc044255b746b4aed8657bed55

Contents?: true

Size: 1.49 KB

Versions: 3

Compression:

Stored size: 1.49 KB

Contents

# Athenian::Commit

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **author** | [**CommitSignature**](CommitSignature.md) |  |  |
| **children** | **Array<String>** | Hashes of the children. Exists only if `property == everything`. Note: the direction is from HEAD to the root, i.e. reversed compared to Git.  | [optional] |
| **committer** | [**CommitSignature**](CommitSignature.md) |  |  |
| **deployments** | **Array<String>** | Deployments of the commit. | [optional] |
| **files_changed** | **Integer** | Number of files changed in this PR. |  |
| **hash** | **String** | Git commit hash. |  |
| **message** | **String** | Commit message. |  |
| **repository** | **String** | Repository name which uniquely identifies any repository in any service provider. The format matches the repository URL without the protocol part. No \".git\" should be appended. We support a special syntax for repository sets: \"{reposet id}\" adds all the repositories from the given set.  |  |
| **size_added** | **Integer** | Overall number of lines added. |  |
| **size_removed** | **Integer** | Overall number of lines removed. |  |

## Example

```ruby
require 'athenian'

instance = Athenian::Commit.new(
  author: null,
  children: null,
  committer: null,
  deployments: null,
  files_changed: null,
  hash: null,
  message: null,
  repository: github.com/athenianco/athenian-webapp,
  size_added: null,
  size_removed: null
)
```

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
athenian-2.1.86 docs/Commit.md
athenian-2.1.85 docs/Commit.md
athenian-2.1.81 docs/Commit.md