code: func (s *ShallowStorage) Commit() error {
  	commits, err := s.temporal.Shallow()
  	if err != nil || len(commits) == 0 {
  		return err
  	}
  
  	return s.ShallowStorer.SetShallow(commits)
  }
docs: // Commit it copies the shallow information of the temporal storage into the
  // base storage.