Remove stray stub sources under Klepon/Klepon
Klepon/Klepon held three placeholder files (ContentRepository, GuideAnswerService, GuideOperations) that nothing references. Two of them share a filename with the real sources, so a project generated with xcodegen fails with "Filename used twice". The checked-in project predates them, which is why local builds kept working. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Seto Elkahfi committed
Oct 4, 2026 at 23:13 UTC
71f1b49bd16f7fb70f8018712233251680cb08df
3 files changed
-45
Klepon/Klepon/Data/ContentRepository.swift
deleted
-13
@@ -1,13 +0,0 @@
1
-import Foundation
2
-
3
-public protocol ContentRepositoryProtocol {
4
- func fetchAll() -> [GuideEntry]
5
-}
6
-
7
-final class ContentRepository: ContentRepositoryProtocol {
8
- // Implementation details here
9
- public func fetchAll() -> [GuideEntry] {
10
- // Existing implementation
11
- return []
12
- }
13
-}
\ No newline at end of file
Klepon/Klepon/Domain/GuideAnswerService.swift
deleted
-25
@@ -1,25 +0,0 @@
1
-import Foundation
2
-
3
-final class GuideAnswerService: GuideOperations {
4
- private let contentRepository: ContentRepository
5
- private let favoritesStore: FavoritesStore
6
- private let searchService: SearchService
7
-
8
- init(contentRepository: ContentRepository, favoritesStore: FavoritesStore, searchService: SearchService) {
9
- self.contentRepository = contentRepository
10
- self.favoritesStore = favoritesStore
11
- self.searchService = searchService
12
- }
13
-
14
- func fetchGuideEntries() -> [GuideEntry] {
15
- return contentRepository.fetchAll()
16
- }
17
-
18
- func saveFavorite(entry: GuideEntry) -> Bool {
19
- return favoritesStore.save(entry: entry)
20
- }
21
-
22
- func searchEntries(query: String) -> [GuideEntry] {
23
- return searchService.search(query: query)
24
- }
25
-}
\ No newline at end of file
Klepon/Klepon/Domain/GuideOperations.swift
deleted
-7
@@ -1,7 +0,0 @@
1
-import Foundation
2
-
3
-public protocol GuideOperations {
4
- func fetchGuideEntries() -> [GuideEntry]
5
- func saveFavorite(entry: GuideEntry) -> Bool
6
- func searchEntries(query: String) -> [GuideEntry]
7
-}
\ No newline at end of file