github.com/hs0210/hashicorp-terraform@v0.11.12-beta1/terraform/path.go (about)

     1  package terraform
     2  
     3  import (
     4  	"strings"
     5  )
     6  
     7  // PathCacheKey returns a cache key for a module path.
     8  func PathCacheKey(path []string) string {
     9  	return strings.Join(path, "|")
    10  }