Interface GitConfig
public interface GitConfig
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionlist()removeSection(String name) renameSection(String oldSectionName, String newSectionName)
-
Field Details
-
CORE_PACKED_GIT_LIMIT
- See Also:
-
CORE_PACKED_GIT_WINDOW_SIZE
- See Also:
-
GC_AUTO
- See Also:
-
GC_PRUNE_EXPIRE
- See Also:
-
GC_PR_REFS_SECTION
- See Also:
-
GC_PR_REFS_EXPIRE
- See Also:
-
GC_PR_REFS_EXPIRE_UNREACHABLE
- See Also:
-
HIERARCHY_ID
- See Also:
-
HTTP_RECEIVE_PACK
- See Also:
-
UPLOAD_PACK_ALLOW_ANY_SHA_IN_WANT
- See Also:
-
-
Method Details
-
get
-
getAll
- Parameters:
name- the name of the key to get all values for- Returns:
- a builder for retrieving all values set for a given key
- Since:
- 4.12
-
list
- Returns:
- a builder for listing all configured values
- Since:
- 4.12
-
removeSection
- Parameters:
name- the name of the section to remove- Returns:
- a builder for removing a configuration section
-
renameSection
@Nonnull GitConfigRenameSectionBuilder renameSection(@Nonnull String oldSectionName, @Nonnull String newSectionName) - Parameters:
oldSectionName- the old config section namenewSectionName- the new config section name- Returns:
- a builder for renaming a configuration section
-
set
-
unset
-
unsetAll
-