Skip to main content

Module sys

Module sys 

Source
Expand description

Adapters for interacting with the operating system (Filesystem, Processes, Environment).

Structs§

Environment
Environment variables and system metadata.

Functions§

compute_hashes_parallel
Computes the BLAKE3 hash of multiple files using a thread-safe parallel approach.
get_files_from_directory
Get all files into one vector.
get_hash
Calculates the BLAKE3 hash from any IO Reader stream.
kill_other_instances
Scans the system for other running instances of wallswitch and terminates them.
probe_image_dimension
Probes image dimensions using pure-Rust in-process header scanning.