Verified Owner
Top Constructors Methods
org.jabref.logic.git.io

public Class GitFileReader

extends Object
Class Inheritance
Annotations
@NullMarked
Imports
java.io.IOException, java.nio.charset.StandardCharsets, java.nio.file.Path, java.util.Optional, org.jabref.logic.JabRefException, org.eclipse.jgit.api.Git, org.eclipse.jgit.errors.IncorrectObjectTypeException, .MissingObjectException, org.eclipse.jgit.lib.ObjectId, .ObjectLoader, .Repository, org.eclipse.jgit.revwalk.RevCommit, .RevTree, org.eclipse.jgit.treewalk.TreeWalk, org.jspecify.annotations.NullMarked

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static Optional<String>
readFileFromCommit(Git git, RevCommit commit, Path relativePath)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

GitFileReaderback to summary
public GitFileReader()

Method Detail

readFileFromCommitback to summary
public static Optional<String> readFileFromCommit(Git git, RevCommit commit, Path relativePath) throws JabRefException