github.com/simpleusd/terraform@v0.11.8-0.20180606155740-fce30c14f051/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  }