diff options
| author | nicoo <nicoo@debian.org> | 2024-12-01 10:07:46 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-01 10:07:46 +0000 |
| commit | 8a59b79070d9b71fdfb2531fe053a57126ec9889 (patch) | |
| tree | b39fe0eb62364f8a0a3bf73bd183ccb8ae0a24aa /pkgs/development/python-modules/python-openstackclient/git@git.tavy.me:nixos | |
| parent | e30e3649008fc1ffc1c3cc895a333b316901a06e (diff) | |
lib.filesystem.packagesFromDirectoryRecursive: refactor (#359941)
No functional changes.
- Centralize the logic classifying files/directories of interest, instead of
being spread between `directoryEntryIsPackage` and `directoryEntryToAttrPair`.
- Replace a composition of `mapAttrs'` and `filterAttrs` with `concatMapAttrs`.
- Simplify future improvements, such as creating nested scopes for subdirs,
or ignoring unsupported files.
Diffstat (limited to 'pkgs/development/python-modules/python-openstackclient/git@git.tavy.me:nixos')
0 files changed, 0 insertions, 0 deletions
