mirror of
https://github.com/apple/container.git
synced 2026-08-24 10:05:43 -05:00
Make ProcessConfiguration.User Equatable (#1357)
Make `User` comparable. ## Type of Change - [ ] Bug fix - [ ] New feature - [ ] Breaking change - [ ] Documentation update ## Motivation and Context [Why is this change needed?] ## Testing - [ ] Tested locally - [ ] Added/updated tests - [ ] Added/updated docs
This commit is contained in:
@@ -53,7 +53,7 @@ public struct ProcessConfiguration: Sendable, Codable {
|
||||
}
|
||||
|
||||
/// The User information for a Process.
|
||||
public enum User: Sendable, Codable, CustomStringConvertible {
|
||||
public enum User: Sendable, Codable, CustomStringConvertible, Equatable {
|
||||
/// Given the raw user string of the form <uid:gid> or <user:group> or <user> lookup the uid/gid within
|
||||
/// the container before setting it for the Process.
|
||||
case raw(userString: String)
|
||||
|
||||
Reference in New Issue
Block a user