code: func (d *DotGit) Close() error {
  	var firstError error
  	if d.files != nil {
  		for _, f := range d.files {
  			err := f.Close()
  			if err != nil && firstError == nil {
  				firstError = err
  				continue
  			}
  		}
  
  		d.files = nil
  	}
  
  	if firstError != nil {
  		return firstError
  	}
  
  	return nil
  }
docs: // Close closes all opened files.