class FDB::DirectoryLayer
def find(tr, path)
def find(tr, path) node = Internal::Node.new(@root_node, [], path) path.each_with_index do |name, index| node = Internal::Node.new(node_with_prefix(tr[node.subspace[@@SUBDIRS][name]]), path[0..index], path) return node unless node.exists? and node.layer(tr) != 'partition' end node end