Rename cstr_buf to cstr::buf

This commit is contained in:
topjohnwu
2025-04-22 02:55:53 -07:00
committed by John Wu
parent ab2e5d1e7e
commit e02b5f7868
16 changed files with 65 additions and 63 deletions
+2 -2
View File
@@ -21,7 +21,7 @@ use base::libc::{
};
use base::{
BytesExt, EarlyExitExt, FsPath, LoggedResult, MappedFile, ResultExt, Utf8CStr, Utf8CStrBuf,
WriteExt, cstr_buf, log_err, map_args,
WriteExt, cstr, log_err, map_args,
};
use crate::check_env;
@@ -343,7 +343,7 @@ impl Cpio {
let out = Utf8CStr::from_string(out);
let mut buf = cstr_buf::default();
let mut buf = cstr::buf::default();
// Make sure its parent directories exist
if out.parent(&mut buf) {