Package | Description |
---|---|
org.eclipse.jgit.api |
High-level API commands (the porcelain of JGit).
|
org.eclipse.jgit.diff |
Comparing file contents by computing diffs.
|
org.eclipse.jgit.internal.ketch |
Distributed consensus system built on Git.
|
org.eclipse.jgit.internal.storage.dfs |
Distributed file system based repository storage.
|
org.eclipse.jgit.internal.storage.file |
File based repository storage.
|
org.eclipse.jgit.internal.storage.reftable | |
org.eclipse.jgit.lib |
Core API for repository, config, refs, object database.
|
org.eclipse.jgit.merge |
Content and commit history merge algorithms.
|
org.eclipse.jgit.storage.file | |
org.eclipse.jgit.storage.pack | |
org.eclipse.jgit.submodule |
Git submodule support.
|
org.eclipse.jgit.transport |
Transport (fetch/push) for different protocols.
|
org.eclipse.jgit.util |
Utility classes.
|
Modifier and Type | Method and Description |
---|---|
static BranchConfig.BranchRebaseMode |
PullCommand.getRebaseMode(String branchName,
Config config)
Reads the rebase mode to use for a pull command from the repository
configuration.
|
Modifier and Type | Method and Description |
---|---|
void |
DiffFormatter.setReader(ObjectReader reader,
Config cfg)
Set the repository the formatter can load object contents from.
|
Modifier and Type | Method and Description |
---|---|
ReplicaConfig |
ReplicaConfig.fromConfig(Config cfg,
String name)
Update the configuration from a config block.
|
static ReplicaConfig |
ReplicaConfig.newFromConfig(Config cfg,
String name)
Read a configuration from a config block.
|
Modifier and Type | Class and Description |
---|---|
class |
DfsConfig
Config implementation used by DFS repositories.
|
Modifier and Type | Method and Description |
---|---|
DfsReaderOptions |
DfsReaderOptions.fromConfig(Config rc)
Update properties by setting fields from the configuration.
|
DfsBlockCacheConfig |
DfsBlockCacheConfig.fromConfig(Config rc)
Update properties by setting fields from the configuration.
|
Constructor and Description |
---|
ObjectDirectory(Config cfg,
File dir,
File[] alternatePaths,
FS fs,
File shallowFile)
Initialize a reference to an on-disk object directory.
|
Constructor and Description |
---|
FileReftableStack(File stackPath,
File reftableDir,
Runnable onChange,
Supplier<Config> configSupplier)
Creates a stack corresponding to the list of reftables in the argument
|
Modifier and Type | Method and Description |
---|---|
void |
ReftableConfig.fromConfig(Config rc)
Update properties by setting fields from the configuration.
|
Constructor and Description |
---|
ReftableConfig(Config cfg)
Create a configuration honoring settings in a
Config . |
Modifier and Type | Class and Description |
---|---|
class |
BlobBasedConfig
Configuration file based on the blobs stored in the repository.
|
class |
StoredConfig
Persistent configuration that can be stored and loaded from a location.
|
Modifier and Type | Method and Description |
---|---|
Config |
Config.getBaseConfig()
Retrieves this config's base config.
|
protected Config |
BaseRepositoryBuilder.getConfig()
Get the cached repository configuration, loading if not yet available.
|
protected Config |
BaseRepositoryBuilder.loadConfig()
Parse and load the repository specific configuration.
|
Modifier and Type | Method and Description |
---|---|
RepositoryCacheConfig |
RepositoryCacheConfig.fromConfig(Config config)
Update properties by setting fields from the configuration.
|
boolean |
TypedConfigGetter.getBoolean(Config config,
String section,
String subsection,
String name,
boolean defaultValue)
Get a boolean value from a git
Config . |
boolean |
DefaultTypedConfigGetter.getBoolean(Config config,
String section,
String subsection,
String name,
boolean defaultValue)
Get a boolean value from a git
Config . |
<T extends Enum<?>> |
TypedConfigGetter.getEnum(Config config,
T[] all,
String section,
String subsection,
String name,
T defaultValue)
Parse an enumeration from a git
Config . |
<T extends Enum<?>> |
DefaultTypedConfigGetter.getEnum(Config config,
T[] all,
String section,
String subsection,
String name,
T defaultValue)
Parse an enumeration from a git
Config . |
int |
TypedConfigGetter.getInt(Config config,
String section,
String subsection,
String name,
int defaultValue)
Obtain an integer value from a git
Config . |
int |
DefaultTypedConfigGetter.getInt(Config config,
String section,
String subsection,
String name,
int defaultValue)
Obtain an integer value from a git
Config . |
long |
TypedConfigGetter.getLong(Config config,
String section,
String subsection,
String name,
long defaultValue)
Obtain a long value from a git
Config . |
long |
DefaultTypedConfigGetter.getLong(Config config,
String section,
String subsection,
String name,
long defaultValue)
Obtain a long value from a git
Config . |
List<RefSpec> |
TypedConfigGetter.getRefSpecs(Config config,
String section,
String subsection,
String name)
|
List<RefSpec> |
DefaultTypedConfigGetter.getRefSpecs(Config config,
String section,
String subsection,
String name)
|
long |
TypedConfigGetter.getTimeUnit(Config config,
String section,
String subsection,
String name,
long defaultValue,
TimeUnit wantUnit)
Parse a numerical time unit, such as "1 minute", from a git
Config . |
long |
DefaultTypedConfigGetter.getTimeUnit(Config config,
String section,
String subsection,
String name,
long defaultValue,
TimeUnit wantUnit)
Parse a numerical time unit, such as "1 minute", from a git
Config . |
T |
Config.SectionParser.parse(Config cfg)
Create a model object from a configuration.
|
Constructor and Description |
---|
BlobBasedConfig(Config base,
byte[] blob)
Parse a configuration from a byte array.
|
BlobBasedConfig(Config base,
Repository db,
AnyObjectId objectId)
Load a configuration file from a blob.
|
BlobBasedConfig(Config base,
Repository db,
AnyObjectId treeish,
String path)
Load a configuration file from a blob stored in a specific commit.
|
BranchConfig(Config config,
String branchName)
Create a new branch config, which will read configuration from config
about specified branch.
|
Config(Config defaultConfig)
Create an empty configuration with a fallback for missing keys.
|
GpgConfig(Config config)
Create a new GPG config, which will read configuration from config.
|
StoredConfig(Config defaultConfig)
Create an empty configuration with a fallback for missing keys.
|
Modifier and Type | Method and Description |
---|---|
ThreeWayMerger |
StrategySimpleTwoWayInCore.newMerger(ObjectInserter inserter,
Config config)
Create a new merge instance.
|
ThreeWayMerger |
StrategyResolve.newMerger(ObjectInserter inserter,
Config config)
Create a new merge instance.
|
ThreeWayMerger |
StrategyRecursive.newMerger(ObjectInserter inserter,
Config config)
Create a new merge instance.
|
Merger |
StrategyOneSided.newMerger(ObjectInserter inserter,
Config config)
Create a new merge instance.
|
abstract Merger |
MergeStrategy.newMerger(ObjectInserter inserter,
Config config)
Create a new merge instance.
|
Constructor and Description |
---|
RecursiveMerger(ObjectInserter inserter,
Config config)
Normal recursive merge, implies inCore.
|
ResolveMerger(ObjectInserter inserter,
Config config)
Constructor for ResolveMerger.
|
Modifier and Type | Class and Description |
---|---|
class |
FileBasedConfig
The configuration file that is stored in the file of the file system.
|
Modifier and Type | Method and Description |
---|---|
WindowCacheConfig |
WindowCacheConfig.fromConfig(Config rc)
Update properties by setting fields from the configuration.
|
Constructor and Description |
---|
FileBasedConfig(Config base,
File cfgLocation,
FS fs)
The constructor
|
Modifier and Type | Method and Description |
---|---|
void |
PackConfig.fromConfig(Config rc)
Update properties by setting fields from the configuration.
|
Constructor and Description |
---|
PackConfig(Config cfg)
Create a configuration honoring settings in a
Config . |
Modifier and Type | Method and Description |
---|---|
SubmoduleWalk |
SubmoduleWalk.setModulesConfig(Config config)
Set the config used by this walk.
|
Modifier and Type | Method and Description |
---|---|
static List<RemoteConfig> |
RemoteConfig.getAllRemoteConfigs(Config rc)
Parse all remote blocks in an existing configuration file, looking for
remotes configuration.
|
void |
RemoteConfig.update(Config rc)
Update this remote's definition within the configuration.
|
Constructor and Description |
---|
HttpConfig(Config config,
URIish uri)
Creates a new
HttpConfig tailored to
the given URIish . |
RemoteConfig(Config rc,
String remoteName)
Parse a remote block from an existing configuration file.
|
TransferConfig(Config rc)
Create a configuration honoring settings in a
Config . |
Modifier and Type | Method and Description |
---|---|
abstract FileBasedConfig |
SystemReader.openJGitConfig(Config parent,
FS fs)
Open the jgit configuration located at $XDG_CONFIG_HOME/jgit/config.
|
abstract FileBasedConfig |
SystemReader.openSystemConfig(Config parent,
FS fs)
Open the gitconfig configuration found in the system-wide "etc"
directory.
|
abstract FileBasedConfig |
SystemReader.openUserConfig(Config parent,
FS fs)
Open the git configuration found in the user home.
|
Copyright © 2020 Eclipse JGit Project. All rights reserved.