public class FileStatistics extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
FileStatistics.FileStatisticsBuilder
Creates
FileBlame instances that optimize the memory footprint for file names by using a TreeStringBuilder. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
getCreationTime()
Returns the creation time of this file.
|
String |
getFileName() |
int |
getLastModificationTime()
Returns the time of the last modification of this file (i.e. last commit to the file).
|
int |
getNumberOfAuthors() |
int |
getNumberOfCommits() |
int |
hashCode() |
void |
inspectCommit(int commitTime,
String author)
Inspects the next commit for this file.
|
protected Object |
readResolve()
Called after de-serialization to retain backward compatibility.
|
String |
toString() |
public String getFileName()
protected Object readResolve()
public int getNumberOfAuthors()
public int getNumberOfCommits()
public int getCreationTime()
public int getLastModificationTime()
public void inspectCommit(int commitTime,
String author)
commitTime - the time of the commit (given as number of seconds since the standard base time known as "the epoch",
namely January 1, 1970, 00:00:00 GMT.).author - author (or committer) nameCopyright © 2016–2020. All rights reserved.