Open
Description
It looks like haskey(::Union{Group,File}, ::String)
has some edge cases that aren't currently well-handled:
using HDF5
filename = tempname()
f = h5open(filename, "w")
f["aa"] = 1
f["bb/cc"] = 2
# the following all throw errors
haskey(f, "./aa")
haskey(f, "aa//")
haskey(f, "aa/c")
haskey(f, "bb//cc")
There is some description of how it should be used here: https://portal.hdfgroup.org/display/HDF5/H5L_EXISTS, and the h5py code which does this is here:
https://github.com/h5py/h5py/blob/6ffb48b5ccb5f14f4fe1208b27e64aae9c85fd48/h5py/h5g.pyx#L495