code: func (c *DbClient) Add(path string, entry *decoder.FileDataEntry) {
  	c.Lock()
  	defer c.Unlock()
  
  	if entry == nil {
  		return
  	}
  
  	fileData, ok := c.db[path]
  	if ok {
  		value, ok := fileData[entry.Key]
  		if ok {
  			if !bytes.Equal(value.data, entry.Value) {
  				rev := value.rev + 1
  				fileData[entry.Key] = &dbEntry{entry.Value, rev}
  			}
  		} else {
  			fileData[entry.Key] = &dbEntry{entry.Value, initialRev}
  		}
  	} else {
  		fileData = map[string]*dbEntry{entry.Key: {entry.Value, initialRev}}
  	}
  
  	c.db[path] = fileData
  }
docs: // Add puts new entry to the database, or updates the old one if given key already exists