Skip to content

Commit 19dc2bd

Browse files
committed
fix: changing Foundation for FoundationNetworking for linux compatibility
1 parent 1ca0388 commit 19dc2bd

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+126
-0
lines changed

Sources/Github/GitHubAPI/Activity/Notifications/Notifications.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
//
77

88
import Foundation
9+
#if canImport(FoundationNetworking)
10+
import FoundationNetworking
11+
#endif
912
import HttpClient
1013
import HTTPTypes
1114

Sources/Github/GitHubAPI/Activity/Starring/Stargazers.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
//
77

88
import Foundation
9+
#if canImport(FoundationNetworking)
10+
import FoundationNetworking
11+
#endif
912
import HttpClient
1013
import HTTPTypes
1114

Sources/Github/GitHubAPI/Collaborators/Collaborators.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
//
77

88
import Foundation
9+
#if canImport(FoundationNetworking)
10+
import FoundationNetworking
11+
#endif
912
import HttpClient
1013
import HTTPTypes
1114

Sources/Github/GitHubAPI/Discussions/DiscussionRequest.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
//
77

88
import Foundation
9+
#if canImport(FoundationNetworking)
10+
import FoundationNetworking
11+
#endif
912
import HttpClient
1013
import HTTPTypes
1114

Sources/Github/GitHubAPI/Discussions/Discussions.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
//
77

88
import Foundation
9+
#if canImport(FoundationNetworking)
10+
import FoundationNetworking
11+
#endif
912
import HttpClient
1013
import HTTPTypes
1114

Sources/Github/GitHubAPI/Gitignore/AllGitignoreTemplateNames.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
//
77

88
import Foundation
9+
#if canImport(FoundationNetworking)
10+
import FoundationNetworking
11+
#endif
912
import HttpClient
1013
import HTTPTypes
1114

Sources/Github/GitHubAPI/Gitignore/GetGitignoreTemplate.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
//
77

88
import Foundation
9+
#if canImport(FoundationNetworking)
10+
import FoundationNetworking
11+
#endif
912
import HttpClient
1013
import HTTPTypes
1114

Sources/Github/GitHubAPI/Issue/Comments.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
//
77

88
import Foundation
9+
#if canImport(FoundationNetworking)
10+
import FoundationNetworking
11+
#endif
912
import HttpClient
1013
import HTTPTypes
1114

Sources/Github/GitHubAPI/Issue/IssueRequest.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
//
77

88
import Foundation
9+
#if canImport(FoundationNetworking)
10+
import FoundationNetworking
11+
#endif
912
import HttpClient
1013
import HTTPTypes
1114

Sources/Github/GitHubAPI/Issue/Issues.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
//
77

88
import Foundation
9+
#if canImport(FoundationNetworking)
10+
import FoundationNetworking
11+
#endif
912
import HttpClient
1013
import HTTPTypes
1114

0 commit comments

Comments
 (0)