access to workflow IsDeps func
This commit is contained in:
		@@ -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 {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user