# File lib/chef_zero/data_store/memory_store_v2.rb, line 61 def create_dir(path, name, *options) parent = _get(path, options.include?(:recursive)) if parent.has_key?(name) if !options.include?(:recursive) raise DataAlreadyExistsError.new(path + [name]) end else _create_dir(path, parent, name) end end