Make argh directly parse into Utf8CString

This commit is contained in:
topjohnwu
2025-08-27 01:26:41 -07:00
committed by John Wu
parent ea72666df8
commit 3599dcedfb
7 changed files with 95 additions and 116 deletions
+1 -1
View File
@@ -754,7 +754,7 @@ impl Display for CpioEntry {
}
}
pub(crate) fn cpio_commands(file: &Utf8CStr, cmds: &mut Vec<String>) -> LoggedResult<()> {
pub(crate) fn cpio_commands(file: &Utf8CStr, cmds: &Vec<String>) -> LoggedResult<()> {
let mut cpio = if file.exists() {
Cpio::load_from_file(file)?
} else {