Skip to content

Commit e6c1513

Browse files
committed
Add periphery ignore comments to unused methods.
1 parent ad7033d commit e6c1513

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Modules/Sources/Networking/Remote/POSCatalogSyncRemote.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,15 @@ public protocol POSCatalogSyncRemoteProtocol {
3232
/// - forceGeneration: Whether to always generate a catalog.
3333
/// - Returns: Catalog job response with job ID.
3434
///
35+
// periphery:ignore - TODO - remove this periphery ignore comment when this endpoint is integrated with catalog sync
3536
func requestCatalogGeneration(for siteID: Int64, forceGeneration: Bool) async throws -> POSCatalogRequestResponse
3637

3738
/// Downloads the generated catalog at the specified download URL.
3839
/// - Parameters:
3940
/// - siteID: Site ID to download catalog for.
4041
/// - downloadURL: Download URL of the catalog file.
4142
/// - Returns: List of products and variations in the POS catalog.
43+
// periphery:ignore - TODO - remove this periphery ignore comment when this endpoint is integrated with catalog sync
4244
func downloadCatalog(for siteID: Int64, downloadURL: String) async throws -> POSCatalogResponse
4345

4446
/// Loads POS products for full sync.
@@ -151,6 +153,7 @@ public class POSCatalogSyncRemote: Remote, POSCatalogSyncRemoteProtocol {
151153
/// - siteID: Site ID to generate catalog for.
152154
/// - Returns: Catalog job response with job ID.
153155
///
156+
// periphery:ignore - TODO - remove this periphery ignore comment when this endpoint is integrated with catalog sync
154157
public func requestCatalogGeneration(for siteID: Int64, forceGeneration: Bool) async throws -> POSCatalogRequestResponse {
155158
let path = "products/catalog"
156159
let parameters: [String: Any] = [
@@ -174,6 +177,7 @@ public class POSCatalogSyncRemote: Remote, POSCatalogSyncRemoteProtocol {
174177
/// - siteID: Site ID to download catalog for.
175178
/// - downloadURL: Download URL of the catalog file.
176179
/// - Returns: List of products and variations in the POS catalog.
180+
// periphery:ignore - TODO - remove this periphery ignore comment when this endpoint is integrated with catalog sync
177181
public func downloadCatalog(for siteID: Int64, downloadURL: String) async throws -> POSCatalogResponse {
178182
// TODO: WOOMOB-1173 - move download task to the background using `URLSessionConfiguration.background`
179183
guard let url = URL(string: downloadURL) else {

0 commit comments

Comments
 (0)