access to workflow IsDeps func
This commit is contained in:
parent
23a9d648d2
commit
2a0ab8e549
@ -36,7 +36,7 @@ type Deps struct {
|
||||
Dest string
|
||||
}
|
||||
|
||||
func (w *Workflow) isDependancy(id string) []Deps {
|
||||
func (w *Workflow) IsDependancy(id string) []Deps {
|
||||
dependancyOfIDs := []Deps{}
|
||||
for _, link := range w.Graph.Links {
|
||||
if _, ok := w.Graph.Items[link.Destination.ID]; !ok {
|
||||
|
Loading…
Reference in New Issue
Block a user