code: func (s *ObjectScanner) Close() error {
  	if s == nil {
  		return nil
  	}
  
  	s.reset()
  	s.gitobj.Close()
  
  	return nil
  }
docs: // Close closes and frees any resources owned by the *ObjectScanner that it is
  // called upon. If there were any errors in freeing that (those) resource(s), it
  // it will be returned, otherwise nil.