diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2018-05-16 10:57:40 -0700 |
---|---|---|
committer | scheibelp <scheibel1@llnl.gov> | 2018-05-17 14:10:30 -0700 |
commit | f202198777b4353c57c26fa87739b306070fd960 (patch) | |
tree | 325c7fa10d591359650eb9f87e970d03df55f669 /.gitignore | |
parent | 3493f7e793e5bf5fdc0c51978ea476185025c192 (diff) | |
download | spack-f202198777b4353c57c26fa87739b306070fd960.tar.gz spack-f202198777b4353c57c26fa87739b306070fd960.tar.bz2 spack-f202198777b4353c57c26fa87739b306070fd960.tar.xz spack-f202198777b4353c57c26fa87739b306070fd960.zip |
Convert lazy singleton functions to Singleton object
- simplify the singleton pattern across the codebase
- reduce lines of code needed for crufty initialization
- reduce functions that need to mess with a global
- Singletons whose semantics changed:
- spack.store.store() -> spack.store
- spack.repo.path() -> spack.repo.path
- spack.config.config() -> spack.config.config
- spack.caches.fetch_cache() -> spack.caches.fetch_cache
- spack.caches.misc_cache() -> spack.caches.misc_cache
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions