Skip to main content

Module shim

Module shim 

Source
Expand description

Shim generation. Each shim is a minimal /bin/sh script that re-invokes dejavu run. Writes are idempotent (temp + atomic rename) and only touch files whose content or exec bit differs.

Re-exports§

pub use crate::config::SHIM_NAMES;

Structs§

ShimContext

Functions§

generate_shims
Generate/refresh shims for the enabled set; remove shims for anything else (disabled builtins AND extra entries removed from config) so which no longer finds them. Returns the number of enabled shims.