| Constructor and Description |
|---|
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()
Full path in the repository.
|
int |
getLinesAdded()
Number of lines added.
|
int |
getLinesChanged()
Number of lines added + removed.
|
int |
getLinesDeleted()
Number of lines removed.
|
String |
getPatch()
The actual change.
|
String |
getPreviousFilename()
Previous path, in case file has moved.
|
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 "removed"
|
public int getLinesChanged()
public int getLinesAdded()
public int getLinesDeleted()
public String getStatus()
public String getFileName()
public String getPreviousFilename()
public String getPatch()
public URL getRawUrl()
public URL getBlobUrl()
public String getSha()
Copyright © 2017. All rights reserved.