github.com/sercand/please@v13.4.0+incompatible/src/watch/stub.go (about)

     1  // +build bootstrap
     2  
     3  // Used at initial bootstrap time to cut down on dependencies.
     4  
     5  package watch
     6  
     7  import "github.com/thought-machine/please/src/core"
     8  
     9  // A CallbackFunc is supplied to Watch in order to trigger a build.
    10  type CallbackFunc func(*core.BuildState, []core.BuildLabel)
    11  
    12  // Watch is a stub implementation of the real function in watch.go, this one does nothing.
    13  func Watch(state *core.BuildState, labels core.BuildLabels, callback CallbackFunc) {
    14  }