summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlex Crawford <alex.crawford@coreos.com>2016-04-27 23:59:20 -0700
committerAlex Crawford <alex.crawford@coreos.com>2016-05-03 11:46:14 -0700
commit8965d9f8b93b467c8827201b8cd55a762e406801 (patch)
tree2058a5d5ec7d2069305261f6ce8ac57eab01443a /test
parent622d37058487ce955337ca9d843d92a67cd6a609 (diff)
install: cache the presets before evaluating
The previous implementation traversed the various config directories, walking the preset files and parsing each line to determine if a service should be enabled or disabled. It did this for every service which resulted in many more file operations than neccessary. This approach parses each of the preset entries into an array which is then used to check if each service should be enabled or disabled.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions