pub struct FileEntry {
pub offset: String,
pub size: u64,
pub executable: bool,
pub unpacked: bool,
pub integrity: Option<FileIntegrity>,
}Expand description
Represents a file entry in an ASAR archive.
Files are stored sequentially in the archive body. The offset
field records the byte position within the data section.
Fields§
§offset: StringByte offset of this file’s content within the archive data section.
size: u64Size of the file in bytes.
executable: boolWhether the file has the executable permission bit set.
unpacked: boolWhether this file is stored unpacked alongside the archive.
integrity: Option<FileIntegrity>SHA256 integrity hashes for this file.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FileEntry
impl RefUnwindSafe for FileEntry
impl Send for FileEntry
impl Sync for FileEntry
impl Unpin for FileEntry
impl UnsafeUnpin for FileEntry
impl UnwindSafe for FileEntry
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more