pub struct CreateOptions {
pub dot: bool,
pub ordering: Option<PathBuf>,
pub unpack: Option<String>,
pub unpack_dir: Option<String>,
}Expand description
Options for creating an ASAR archive.
Controls which files to include, file ordering, and which files should be stored unpacked.
Fields§
§dot: boolInclude dotfiles (files and directories starting with .).
ordering: Option<PathBuf>Path to a file specifying the ordering of files in the archive.
unpack: Option<String>Glob pattern for files to store unpacked alongside the archive.
unpack_dir: Option<String>Glob pattern for directories whose contents should be stored unpacked.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CreateOptions
impl RefUnwindSafe for CreateOptions
impl Send for CreateOptions
impl Sync for CreateOptions
impl Unpin for CreateOptions
impl UnsafeUnpin for CreateOptions
impl UnwindSafe for CreateOptions
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