// Dump batch deletes all the entries in the mapping.
Dump batch deletes all the entries in the mapping.
// Dump batch deletes all the entries in the mapping .
func (s Sources) Dump() error {
	b := new(leveldb.Batch)
	for k := range s {
		b.Delete(utils.ToByte(k))
	}
	return Db.Write(b, nil)
}
func ( s Sources ) Dump ( ) error { b := new ( leveldb . Batch ) for k := range s { b . Delete ( utils . ToByte ( k ) ) } return Db . Write ( b , nil ) }
Dump batch deletes all the entries in the mapping.
Dump batch deletes all the entries in the mapping .