Package com.spotify.github.v3.repos
Interface File
-
- All Known Implementing Classes:
ImmutableFile
@Immutable public interface FileFile resource. SeeCommitfor example usage
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Integeradditions()Number of added linesOptional<URI>blobUrl()Blob file content API URLIntegerchanges()Numnber of changed linesOptional<URI>contentsUrl()File content API URLIntegerdeletions()Number of removed linesStringfilename()File nameOptional<String>patch()Patch contentOptional<URI>rawUrl()Raw file content API URLOptional<String>sha()Sha that included action taken on the given fileStringstatus()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
-
-