mirror of
https://github.com/panpaul/tiny_os
synced 2024-09-20 09:45:19 +08:00
chore: cpio: better comment
This commit is contained in:
parent
cc5049353a
commit
0012091cd5
@ -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";
|
||||||
|
Loading…
Reference in New Issue
Block a user