code: func ReadIgnoreFile(dir string) ([]byte, error) {
  	path := filepath.Join(dir, ".apexignore")
  
  	b, err := ioutil.ReadFile(path)
  
  	if os.IsNotExist(err) {
  		return nil, nil
  	}
  
  	if err != nil {
  		return nil, err
  	}
  
  	return b, nil
  }
docs: // ReadIgnoreFile reads .apexignore in `dir` when present and returns a list of patterns.