Mercurial > gemma
comparison pkg/imports/wx.go @ 3219:4acbee65275d
Import queue: Split locked dependencies in exclusively and multiple uses.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Thu, 09 May 2019 12:49:53 +0200 |
parents | 72451510d417 |
children | 6c5c15b2fb64 |
comparison
equal
deleted
inserted
replaced
3218:c2b65a549c6f | 3219:4acbee65275d |
---|---|
56 | 56 |
57 func (wxJobCreator) AutoAccept() bool { return true } | 57 func (wxJobCreator) AutoAccept() bool { return true } |
58 | 58 |
59 func (wxJobCreator) Create() Job { return new(WaterwayAxis) } | 59 func (wxJobCreator) Create() Job { return new(WaterwayAxis) } |
60 | 60 |
61 func (wxJobCreator) Depends() []string { | 61 func (wxJobCreator) Depends() [2][]string { |
62 return []string{ | 62 return [2][]string{ |
63 "waterway_axis", | 63 {"waterway_axis"}, |
64 {}, | |
64 } | 65 } |
65 } | 66 } |
66 | 67 |
67 // StageDone is a NOP for waterway axis imports. | 68 // StageDone is a NOP for waterway axis imports. |
68 func (wxJobCreator) StageDone(context.Context, *sql.Tx, int64) error { | 69 func (wxJobCreator) StageDone(context.Context, *sql.Tx, int64) error { |