src/pxar/exclude_pattern.rs: add Clone and Copy trait to MatchType
Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
This commit is contained in:
parent
6a584cfd76
commit
51ac99c314
|
@ -16,7 +16,7 @@ extern "C" {
|
|||
fn fnmatch(pattern: *const c_char, string: *const c_char, flags: c_int) -> c_int;
|
||||
}
|
||||
|
||||
#[derive(Debug, PartialEq)]
|
||||
#[derive(Debug, PartialEq, Clone, Copy)]
|
||||
pub enum MatchType {
|
||||
None,
|
||||
Exclude,
|
||||
|
|
Loading…
Reference in New Issue