You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Representation of `machine` connection settings & `default` connection settings. If `default` connection settings present, they will be last element.
8
22
publicletmachines:[Machine]
@@ -11,10 +25,10 @@ public struct Netrc {
11
25
self.machines = machines
12
26
}
13
27
14
-
/// Testing API. Not for productive use.
15
-
/// See: [Remove @testable from codebase](https://github.com/apple/swift-package-manager/commit/b6349d516d2f9b2f26ddae9de2c594ede24af7d6)
16
-
publicstaticvar_mock:Netrc?=nil
17
-
28
+
// /// Testing API. Not for productive use.
29
+
// /// See: [Remove @testable from codebase](https://github.com/apple/swift-package-manager/commit/b6349d516d2f9b2f26ddae9de2c594ede24af7d6)
30
+
// public static var _mock: Netrc? = nil
31
+
18
32
/// Basic authorization header string
19
33
/// - Parameter url: URI of network resource to be accessed
20
34
/// - Returns: (optional) Basic Authorization header string to be added to the request
@@ -29,13 +43,15 @@ public struct Netrc {
29
43
///
30
44
/// - Parameter fileURL: Location of netrc file, defaults to `~/.netrc`
31
45
/// - Returns: `Netrc` container with parsed connection settings, or error
0 commit comments