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) |
PrePushHook |
getPrePushHook(Repository repo,
PrintStream outputStream,
PrintStream errorStream) |
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 LfsFactory@Nullable public PrePushHook getPrePushHook(Repository repo, PrintStream outputStream, PrintStream errorStream)
getPrePushHook in class LfsFactorypublic boolean isEnabled(Repository db)
isEnabled in class LfsFactorydb - the repositorypublic LfsFactory.LfsInstallCommand getInstallCommand()
getInstallCommand in class LfsFactoryCopyright © 2019 Eclipse JGit Project. All rights reserved.