code: func (s *Store) KVSSet(idx uint64, entry *structs.DirEntry) error {
  	tx := s.db.Txn(true)
  	defer tx.Abort()
  
  	// Perform the actual set.
  	if err := s.kvsSetTxn(tx, idx, entry, false); err != nil {
  		return err
  	}
  
  	tx.Commit()
  	return nil
  }
docs: // KVSSet is used to store a key/value pair.