Package org.eclipse.jgit.lfs.lib
Class LfsPointerFilter
java.lang.Object
org.eclipse.jgit.treewalk.filter.TreeFilter
org.eclipse.jgit.lfs.lib.LfsPointerFilter
Detects Large File pointers, as described in [1] in Git repository.
[1] https://github.com/github/git-lfs/blob/master/docs/spec.md
- Since:
- 4.7
-
Field Summary
Fields inherited from class org.eclipse.jgit.treewalk.filter.TreeFilter
ALL, ANY_DIFF -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.eclipse.jgit.treewalk.filter.TreeFilter
matchFilter, negate, toString
-
Constructor Details
-
LfsPointerFilter
public LfsPointerFilter()
-
-
Method Details
-
getPointer
Get the fieldpointer.- Returns:
LfsPointerornull
-
include
public boolean include(TreeWalk walk) throws MissingObjectException, IncorrectObjectTypeException, IOException - Specified by:
includein classTreeFilter- Throws:
MissingObjectExceptionIncorrectObjectTypeExceptionIOException
-
shouldBeRecursive
public boolean shouldBeRecursive()- Specified by:
shouldBeRecursivein classTreeFilter
-
clone
- Specified by:
clonein classTreeFilter
-