Skip to content

Commit 9d5294c

Browse files
Mark Windows UserCredentials API as internal for now (#285)
This will provide us more time to consider the right API shape.
1 parent 1163367 commit 9d5294c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Sources/Subprocess/Platforms/Subprocess+Windows.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ extension Configuration {
314314
public struct PlatformOptions: Sendable {
315315
/// The credentials to use when spawning the subprocess
316316
/// as a different user.
317-
public struct UserCredentials: Sendable, Hashable {
317+
internal struct UserCredentials: Sendable, Hashable {
318318
/// The name of the user.
319319
///
320320
/// This is the name of the user account to run as.
@@ -389,7 +389,7 @@ public struct PlatformOptions: Sendable {
389389
}
390390

391391
/// The user credentials for starting the process as another user.
392-
public var userCredentials: UserCredentials? = nil
392+
internal var userCredentials: UserCredentials? = nil
393393
/// The console behavior of the new process.
394394
///
395395
/// Defaults to inheriting the console from the parent process.

0 commit comments

Comments
 (0)