Skip to content
Prev Previous commit
Next Next commit
mr conflict clean up
  • Loading branch information
dkz2 committed Aug 8, 2023
commit 1e79a89d92ae377edf37dde4e743581b1f816624
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ extension ByteBuffer {
self.writeInteger(UInt8.P)
case .replace:
self.writeInteger(UInt8.R)
<<<<<<< HEAD
}
}

Expand All @@ -116,8 +115,6 @@ extension ByteBuffer {
self.writeInteger(UInt8.whitespace)
self.writeInteger(UInt8.D)
self.writeIntegerAsASCII(arithmeticDelta)
=======
>>>>>>> 9ae24ae6c441eaa6db85fab9671433c65de999b4
}
}
}
Expand Down
3 changes: 0 additions & 3 deletions Sources/SwiftMemcache/Extensions/UInt8+Characters.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,7 @@ extension UInt8 {
static var A: UInt8 = .init(ascii: "A")
static var E: UInt8 = .init(ascii: "E")
static var R: UInt8 = .init(ascii: "R")
<<<<<<< HEAD
static var D: UInt8 = .init(ascii: "D")
=======
>>>>>>> 9ae24ae6c441eaa6db85fab9671433c65de999b4
static var zero: UInt8 = .init(ascii: "0")
static var nine: UInt8 = .init(ascii: "9")
static var increment: UInt8 = .init(ascii: "+")
Expand Down
3 changes: 0 additions & 3 deletions Sources/SwiftMemcache/MemcachedConnection.swift
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,6 @@ public actor MemcachedConnection {
throw MemcachedConnectionError.connectionShutdown
}
}
<<<<<<< HEAD

// MARK: - Increment a Value

Expand Down Expand Up @@ -479,6 +478,4 @@ public actor MemcachedConnection {
throw MemcachedConnectionError.connectionShutdown
}
}
=======
>>>>>>> 9ae24ae6c441eaa6db85fab9671433c65de999b4
}
3 changes: 0 additions & 3 deletions Sources/SwiftMemcache/MemcachedFlags.swift
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ enum StorageMode: Equatable, Hashable {
case prepend
/// The "replace" command. The new value is set only if the item already exists.
case replace
<<<<<<< HEAD
}

/// Enum representing the mode for the 'ma' (meta arithmetic) command in Memcached (corresponding to the 'M' flag).
Expand All @@ -77,8 +76,6 @@ enum ArithmeticMode: Equatable, Hashable {
case increment
/// 'decrement' command. If applied, it decreases the numerical value of the item.
case decrement
=======
>>>>>>> 9ae24ae6c441eaa6db85fab9671433c65de999b4
}

extension MemcachedFlags: Hashable {}
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,6 @@ final class MemcachedIntegrationTest: XCTestCase {
}
}

<<<<<<< HEAD
func testIncrementValue() async throws {
let group = MultiThreadedEventLoopGroup(numberOfThreads: 1)
defer {
Expand Down Expand Up @@ -491,8 +490,6 @@ final class MemcachedIntegrationTest: XCTestCase {
}
}

=======
>>>>>>> 9ae24ae6c441eaa6db85fab9671433c65de999b4
func testMemcachedConnectionWithUInt() async throws {
let group = MultiThreadedEventLoopGroup(numberOfThreads: 1)
defer {
Expand Down