public class BuiltinLFS extends LfsFactory
LfsFactory
, using built-in (optional) LFS support.LfsFactory.LfsInputStream, LfsFactory.LfsInstallCommand
Modifier and Type | Method and Description |
---|---|
LfsFactory.LfsInputStream |
applyCleanFilter(Repository db,
InputStream input,
long length,
Attribute attribute) |
ObjectLoader |
applySmudgeFilter(Repository db,
ObjectLoader loader,
Attribute attribute) |
LfsFactory.LfsInstallCommand |
getInstallCommand() |
PrePushHook |
getPrePushHook(Repository repo,
PrintStream outputStream) |
boolean |
isAvailable() |
boolean |
isEnabled(Repository db) |
static void |
register()
Activates the built-in LFS support.
|
getAttributesForPath, getAttributesForPath, getInstance, setInstance
public static void register()
public boolean isAvailable()
isAvailable
in class LfsFactory
public ObjectLoader applySmudgeFilter(Repository db, ObjectLoader loader, Attribute attribute) throws IOException
applySmudgeFilter
in class LfsFactory
IOException
public LfsFactory.LfsInputStream applyCleanFilter(Repository db, InputStream input, long length, Attribute attribute) throws IOException
applyCleanFilter
in class LfsFactory
IOException
@Nullable public PrePushHook getPrePushHook(Repository repo, PrintStream outputStream)
getPrePushHook
in class LfsFactory
public boolean isEnabled(Repository db)
isEnabled
in class LfsFactory
db
- the repositorypublic LfsFactory.LfsInstallCommand getInstallCommand()
getInstallCommand
in class LfsFactory
Copyright © 2018 Eclipse JGit Project. All rights reserved.