MCPcopy Index your code
hub / github.com/bytebase/bytebase / LogComputeDiffStart

Method LogComputeDiffStart

backend/plugin/db/driver.go:204–215  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

202}
203
204func (o *ExecuteOptions) LogComputeDiffStart() {
205 if o == nil || o.CreateTaskRunLog == nil {
206 return
207 }
208 err := o.CreateTaskRunLog(time.Now(), &storepb.TaskRunLog{
209 Type: storepb.TaskRunLog_COMPUTE_DIFF_START,
210 ComputeDiffStart: &storepb.TaskRunLog_ComputeDiffStart{},
211 })
212 if err != nil {
213 slog.Warn("failed to log compute diff start", log.BBError(err))
214 }
215}
216
217func (o *ExecuteOptions) LogComputeDiffEnd(e string) {
218 if o == nil || o.CreateTaskRunLog == nil {

Callers 1

runDeclarativeReleaseMethod · 0.95

Calls 2

BBErrorFunction · 0.92
CreateTaskRunLogMethod · 0.80

Tested by

no test coverage detected