mirror of
https://github.com/apple/swift-nio-imap
synced 2026-11-28 05:14:27 +00:00
* Update testParse2Digit * Update testParseToken * Update testParseUnsubscribe * Update testParseUID * Update testParseUIDSet * Update testParseUserId * Update testUIDRange * Update testParseUid * Update testParseText * Fix sanity * Remove un-needed function * Update parseTaggedResponse * Update parseTag * Update parseSequenceSet * Update parseRename * Update parseSubscribe * Update parseStoreAttribueFlags * Update parseStore * Update parseStatus * Update testParseSequenceSet * Update parse NZNumber * Update parseNumber * Update parseNString * Test utilities for void returning parsers * Update testParseNil * Update testParseNewline * Update testParseNamespace * Update testParseAddress * Better error messages * Update testParseSequenceRange * Fix testParseStatus * Update testParseSequenceNumber * Update testParseSelect * Update testParseSectionSpecifierKind * Update testParseSectionSpecifier * Update testParseSectionPart * Update testParseSectionBinary * Update testParseSection * Update testParseSearchReturnOptionExtension * Batch replace function calls * Use new method almost everywhere * Remove extra spacing * Fix sanity * Remove redundant function * Remove redundant code * Refactor parsing search keys
27 lines
787 B
Swift
27 lines
787 B
Swift
//===----------------------------------------------------------------------===//
|
|
//
|
|
// This source file is part of the SwiftNIO open source project
|
|
//
|
|
// Copyright (c) 2020 Apple Inc. and the SwiftNIO project authors
|
|
// Licensed under Apache License v2.0
|
|
//
|
|
// See LICENSE.txt for license information
|
|
// See CONTRIBUTORS.txt for the list of SwiftNIO project authors
|
|
//
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
/// IMAPv4 `response-code-copy`
|
|
public struct ResponseCodeCopy: Equatable {
|
|
public var num: Int
|
|
public var set1: UIDSet
|
|
public var set2: UIDSet
|
|
|
|
public init(num: Int, set1: UIDSet, set2: UIDSet) {
|
|
self.num = num
|
|
self.set1 = set1
|
|
self.set2 = set2
|
|
}
|
|
}
|