Move pattern matching to Rust

This commit is contained in:
topjohnwu
2023-06-21 16:47:20 -07:00
parent 399b9e5eba
commit 9c7cf340a1
7 changed files with 91 additions and 76 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ use base::libc::{S_IFDIR, S_IFMT, S_IFREG};
use base::Utf8CStr;
use crate::cpio::{Cpio, CpioEntry};
use crate::ffi::{patch_encryption, patch_verity};
use crate::patch::{patch_encryption, patch_verity};
pub trait MagiskCpio {
fn patch(&mut self);