Skip to content

Commit d574fa3

Browse files
authored
Expose AbsoluteConfigKey prepending/appending
1 parent 4a50528 commit d574fa3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/Configuration/ConfigKey.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ extension AbsoluteConfigKey? {
166166
/// Returns a new absolute configuration key by appending the given relative key.
167167
/// - Parameter relative: The relative configuration key to append to this key.
168168
/// - Returns: A new absolute configuration key with the relative key appended.
169-
internal func appending(_ relative: ConfigKey) -> AbsoluteConfigKey {
169+
public func appending(_ relative: ConfigKey) -> AbsoluteConfigKey {
170170
switch self {
171171
case .none:
172172
return .init(relative)
@@ -182,7 +182,7 @@ extension AbsoluteConfigKey {
182182
/// Returns a new absolute configuration key by prepending the given relative key.
183183
/// - Parameter prefix: The relative configuration key to prepend to this key.
184184
/// - Returns: A new absolute configuration key with the prefix prepended.
185-
internal func prepending(_ prefix: ConfigKey) -> AbsoluteConfigKey {
185+
public func prepending(_ prefix: ConfigKey) -> AbsoluteConfigKey {
186186
var prefixedComponents = prefix.components
187187
prefixedComponents.append(contentsOf: self.components)
188188
var mergedContext = prefix.context

0 commit comments

Comments
 (0)