public class GpgConfig extends Object
Modifier and Type | Class and Description |
---|---|
static class |
GpgConfig.GpgFormat
Config values for gpg.format.
|
Constructor and Description |
---|
GpgConfig(Config config)
Create a new GPG config, which will read configuration from config.
|
Modifier and Type | Method and Description |
---|---|
GpgConfig.GpgFormat |
getKeyFormat()
Retrieves the config value of gpg.format.
|
String |
getSigningKey()
Retrieves the config value of user.signingKey.
|
boolean |
isSignCommits()
Retrieves the config value of commit.gpgSign.
|
public GpgConfig(Config config)
config
- the config to read frompublic GpgConfig.GpgFormat getKeyFormat()
GpgConfig.GpgFormat
public String getSigningKey()
null
)public boolean isSignCommits()
false
)Copyright © 2020 Eclipse JGit Project. All rights reserved.