Crate brewdiff

Crate brewdiff 

Source

Re-exports§

pub use diff::HomebrewDiffData;
pub use diff::PackageDiff;
pub use error::Error;
pub use error::Result;
pub use intent::HomebrewIntent;
pub use state::HomebrewState;

Modules§

diff
display
error
intent
state

Functions§

extract_nix_darwin_intent
Extract nix-darwin intent from a built profile
get_current_homebrew_state
Get current Homebrew state
spawn_homebrew_diff
Primary API - compare current Homebrew state with new nix-darwin config Mirrors dix’s spawn pattern for async processing
write_homebrew_diff_content
Write homebrew diff output without header Use this when you want just the diff content
write_homebrew_diffln
Write homebrew diff output, returns number of lines written This version includes the header with profile paths (matches dix exactly)
write_homebrew_stats
Write homebrew diff statistics