Package com.spotify.github.v3.repos
Interface File
-
- All Known Implementing Classes:
ImmutableFile
@Immutable public interface File
File resource. SeeCommit
for example usage
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Integer
additions()
Number of added linesOptional<URI>
blobUrl()
Blob file content API URLInteger
changes()
Numnber of changed linesOptional<URI>
contentsUrl()
File content API URLInteger
deletions()
Number of removed linesString
filename()
File nameOptional<String>
patch()
Patch contentOptional<URI>
rawUrl()
Raw file content API URLOptional<String>
sha()
Sha that included action taken on the given fileString
status()
File status.
-
-
-
Method Detail
-
filename
@Nullable String filename()
File name
-
additions
@Nullable Integer additions()
Number of added lines
-
deletions
@Nullable Integer deletions()
Number of removed lines
-
changes
@Nullable Integer changes()
Numnber of changed lines
-
status
@Nullable String status()
File status. E.g added, modified
-
-