The lspci command is now called only once on first invocation of get_storage_controllers, with results cached in LSPCI_CACHE. Subsequent calls from different layout generators (10bay, large1, micro) reuse the cached output, reducing subprocess overhead. Also added function documentation. Fixes: #17 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
42 KiB
42 KiB