struct Member

Defined at line 21 of file ../../zircon/kernel/phys/lib/linux-initramfs/include/lib/linux-initramfs/initramfs.h

This represents one file in the initramfs. The initramfs (cpio) member

header has more information than just the name, but nothing else matters.

Public Members

basic_string_view name
span contents
static const size_t kHeaderSize

Public Methods

bool empty ()

Defined at line 24 of file ../../zircon/kernel/phys/lib/linux-initramfs/include/lib/linux-initramfs/initramfs.h

bool operator bool ()

Defined at line 26 of file ../../zircon/kernel/phys/lib/linux-initramfs/include/lib/linux-initramfs/initramfs.h

size_t size_bytes ()

This gives the whole size occupied in the image.

Defined at line 29 of file ../../zircon/kernel/phys/lib/linux-initramfs/include/lib/linux-initramfs/initramfs.h