FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    BuildInputs

    struct · ferroui-hot-patch · v0.5.0

    struct BuildInputs
    

    An owned, byte-exact revision. Rust sources remain text for function admission; every other input is encoded so binary assets are covered without lossy decoding.

    View source

    Members

    capture

    fn capture(root: &Path, excluded_directories: &[PathBuf], context: BTreeMap<String, String>) -> io::Result<Self>
    

    Read all regular files recursively. Exclusions are explicit root-relative directories, normally .git and the build output directory. Never exclude a dependency or compiler input. Symlinks are rejected instead of silently overlooking external inputs or making the staged build resolve differently. Two identical reads reject ordinary edits during capture; the staged bytes, rather than the mutable source directory, must be used for compilation.

    Source

    snapshot

    fn snapshot(self: &Self) -> io::Result<SourceSnapshot>
    

    Exact comparison inputs for PatchSupervisor. Context keys live outside the filesystem namespace and must include toolchain identity and relevant env.

    Source

    stage

    fn stage(self: &Self) -> io::Result<StagedInputs>
    

    Create an isolated source tree from the captured bytes, never by rereading live sources. Keep this object alive for the entire build and verification.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • Clone
    • Debug
    • StructuralPartialEq
    • PartialEq
    • Eq

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.