chore: cpio: better comment

This commit is contained in:
Paul Pan 2024-04-01 16:53:29 +08:00
parent cc5049353a
commit 0012091cd5

View File

@ -1,7 +1,8 @@
#![cfg_attr(not(test), no_std)] #![cfg_attr(not(test), no_std)]
// reference: https://man.archlinux.org/man/cpio.5.en#New_ASCII_Format // Reference:
// Reference: https://github.com/jcreekmore/cpio-rs/blob/master/src/newc.rs // - https://man.archlinux.org/man/cpio.5.en#New_ASCII_Format
// - https://github.com/jcreekmore/cpio-rs/blob/master/src/newc.rs
const HEADER_LEN: usize = 110; const HEADER_LEN: usize = 110;
const MAGIC_NEW_ASCII: [u8; 6] = *b"070701"; const MAGIC_NEW_ASCII: [u8; 6] = *b"070701";