'Get a dict with all symrefs in this container.
:return: Dictionary mapping source ref to target ref'

def get_symrefs(self):

    ret = {}
    for src in self.allkeys():
        try:
            dst = parse_symref_value(self.read_ref(src))
        except ValueError:
            pass
        else:
            ret[src] = dst
    return ret
