mirror of
https://github.com/mjallen18/snowfall-lib.git
synced 2026-04-18 09:05:58 -05:00
4df1f04931bf0b370bc8836a658536468fa21ff8
Introduce get-entries-by-kind to eliminate duplication between get-directories and get-files. Add filter-files helpers to reduce 6 similar filtering functions into 2 reusable higher-order functions. Changes: - Added pipe to imports - Added get-entries-by-kind using pipe for clearer data flow - Refactored get-directories and get-files to use get-entries-by-kind - Added filter-files and filter-files-recursive helpers - Refactored all 6 file filtering functions to one-liners using helpers Impact: - Lines: +30 -49 (net: -19) - Eliminated duplication in filesystem operations - Introduced modern pipe pattern for data transformations - Better composability with higher-order functions Testing: nix flake check ✓
Snowfall Lib
Unified configuration for systems, packages, modules, shells, templates, and more with Nix Flakes.
Snowfall Lib is built on top of flake-utils-plus.
Get Started
See the Snowfall Lib Quickstart guide to start using Snowfall Lib.
Reference
Looking for Snowfall Lib documentation? See the Snowfall Lib Reference.
Description
Languages
Nix
100%