Implements set behavior with disk-based persistence. Objects in the set are expected to be strings containing only characters that are valid in filenames.
This class is used to track which files have been syntax checked so that known good files are not rechecked.
Create a new PersistentSet. Values in the set are persisted by creating a file in the cache_path directory.
# File lib/chef/cookbook/syntax_check.rb, line 45 def initialize(cache_path=Chef::Config[:syntax_check_cache_path]) @cache_path = cache_path @cache_path_created = false end
Generated with the Darkfish Rdoc Generator 2.