github.com/stackb/rules_proto@v0.0.0-20240221195024-5428336c51f1/pkg/language/protobuf/fix.go (about)

     1  package protobuf
     2  
     3  import (
     4  	"github.com/bazelbuild/bazel-gazelle/config"
     5  	"github.com/bazelbuild/bazel-gazelle/rule"
     6  )
     7  
     8  // Fix repairs deprecated usage of language-specific rules in f. This is called
     9  // before the file is indexed. Unless c.ShouldFix is true, fixes that delete or
    10  // rename rules should not be performed.
    11  func (*protobufLang) Fix(c *config.Config, f *rule.File) {}