url.<base>.insteadOf and
url.<base>.pushInsteadOf.
| Modifier and Type | Field and Description |
|---|---|
| private final Config | |
| private Map | |
| private static final String | |
| private static final String | |
| private Map | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if there are push replacements, false
otherwiseTells whether there are push replacements. |
| private Map | |
| public String | |
| private String | |
| public String | Returns: theurl with substitution appliedto substitute url)Performs replacements as defined by git config
|
| config | back to summary |
|---|---|
| private final Config config | |
| insteadOf | back to summary |
|---|---|
| private Map<String, String> insteadOf | |
| KEY_INSTEADOF | back to summary |
|---|---|
| private static final String KEY_INSTEADOF | |
| KEY_PUSHINSTEADOF | back to summary |
|---|---|
| private static final String KEY_PUSHINSTEADOF | |
| pushInsteadOf | back to summary |
|---|---|
| private Map<String, String> pushInsteadOf | |
| SECTION_URL | back to summary |
|---|---|
| private static final String SECTION_URL | |
| UrlConfig | back to summary |
|---|---|
| public UrlConfig(Config config) Creates a new | |
| hasPushReplacements | back to summary |
|---|---|
| public boolean hasPushReplacements() Tells whether there are push replacements.
| |
| load | back to summary |
|---|---|
| private Map | |
| replace | back to summary |
|---|---|
| public String replace(String url) Performs replacements as defined by git config
| |
| replace | back to summary |
|---|---|
| private String replace(String uri, Map<String, String> replacements) | |
| replacePush | back to summary |
|---|---|
| public String replacePush(String url) Performs replacements as defined by git config
| |