code: func (h *Hook) Uninstall() error {
  	msg := fmt.Sprintf("Uninstall hook: %s, path=%s", h.Type, h.Path())
  
  	match, err := h.matchesCurrent()
  	if err != nil {
  		return err
  	}
  
  	if !match {
  		tracerx.Printf(msg + ", doesn't match...")
  		return nil
  	}
  
  	tracerx.Printf(msg)
  	return os.RemoveAll(h.Path())
  }
docs: // Uninstall removes the hook on disk so long as it matches the current version,
  // or any of the past versions of this hook.