code: func (o *ScanRefsOptions) SetName(sha, name string) {
  	o.Mutex.Lock()
  	defer o.Mutex.Unlock()
  
  	o.Names[sha] = name
  }
docs: // SetName sets the name associated with a given blob/tree sha.
  //
  // SetName is guarded by a use of o.Mutex, and is therefore goroutine safe.