| Constructor and Description |
|---|
GHCommit.File() |
| Modifier and Type | Method and Description |
|---|---|
URL |
getBlobUrl()
URL like 'https://github.com/jenkinsci/jenkins/blob/1182e2ebb1734d0653142bd422ad33c21437f7cf/core/pom.xml'
that resolves to the HTML page that describes this file.
|
String |
getFileName()
Just the base name and the extension without any directory name.
|
int |
getLinesAdded()
Number of lines added.
|
int |
getLinesChanged()
Number of lines added + removed.
|
int |
getLinesDeleted()
Number of lines removed.
|
String |
getPatch()
The actual change.
|
URL |
getRawUrl()
URL like 'https://raw.github.com/jenkinsci/jenkins/4eb17c197dfdcf8ef7ff87eb160f24f6a20b7f0e/core/pom.xml'
that resolves to the actual content of the file.
|
String |
getSha()
[0-9a-f]{40} SHA1 checksum.
|
String |
getStatus()
"modified", "added", or "deleted"
|
public int getLinesChanged()
public int getLinesAdded()
public int getLinesDeleted()
public String getStatus()
public String getFileName()
public String getPatch()
public URL getRawUrl()
public URL getBlobUrl()
public String getSha()
Copyright © 2012. All Rights Reserved.