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, setInstancepublic static void register()
public boolean isAvailable()
isAvailable in class LfsFactorypublic ObjectLoader applySmudgeFilter(Repository db, ObjectLoader loader, Attribute attribute) throws IOException
applySmudgeFilter in class LfsFactoryIOExceptionpublic LfsFactory.LfsInputStream applyCleanFilter(Repository db, InputStream input, long length, Attribute attribute) throws IOException
applyCleanFilter in class LfsFactoryIOException@Nullable public PrePushHook getPrePushHook(Repository repo, PrintStream outputStream)
getPrePushHook in class LfsFactorypublic boolean isEnabled(Repository db)
isEnabled in class LfsFactorydb - the repositorypublic LfsFactory.LfsInstallCommand getInstallCommand()
getInstallCommand in class LfsFactoryCopyright © 2018 Eclipse JGit Project. All rights reserved.