Class RepoCommand.RemoteFile
java.lang.Object
org.eclipse.jgit.gitrepo.RepoCommand.RemoteFile
- Enclosing class:
RepoCommand
Read-only view of contents and file mode (i.e. permissions) for a file in
a remote repository.
- Since:
- 5.2
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]Contents of the file.
-
Field Details
-
contents
-
fileMode
-
-
Constructor Details
-
RemoteFile
-
-
Method Details
-
getContents
Contents of the file.Callers who receive this reference must not modify its contents (as it can point to internal cached data).
- Returns:
- Raw contents of the file. Do not modify it.
-
getFileMode
-