# File lib/chef_zero/data_store/memory_store_v2.rb, line 125 def exists_dir?(path) begin dir = _get(path) if !dir.is_a? Hash raise "exists_dir? only works with directories (#{path} = #{dir.class})" end return true rescue DataNotFoundError return false end end