github.com/trawler/terraform@v0.10.8-0.20171106022149-4b1c7a1d9b48/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  }