Commit Graph

16 Commits (4e308ef3625a6f4e155ed547f604e16bf3d875ae)

Author SHA1 Message Date
Brian Flad 19cf34114f
lang/funcs: Switch fileset() function glob implementation to github.com/bmatcuk/doublestar to support additional glob patterns
7 years ago
Brian Flad 769f626a0e
lang/funcs: Remove homedir.Expand() and refactor path trimming with filepath.Rel() in fileset() function
7 years ago
Brian Flad 820b79d91d
lang/funcs: Clarification update to MakeFileSetFunc comment for filepath.ToSlash usage
7 years ago
Brian Flad af7f6ef441
lang/funcs: Update fileset() function to include path as separate first argument, automatically trim the path argument from results, and ensure results are always canonical with forward slash path separators
7 years ago
Brian Flad d48d9ed766
lang/funcs: Add fileset function
7 years ago
Andreas Sommer 042aead714 lang/funcs: add "abspath" function (#21409)
7 years ago
Martin Atkins 2b1e650df2 lang/funcs: Fix out-of-bounds ArgError in templatefile function
7 years ago
Brian Flad 398fe8652d
config: Mention other file hashing functions when file() detects unsupported contents
7 years ago
Martin Atkins 954d38e870 lang: New file-hashing functions
7 years ago
Martin Atkins c753df6a93 lang/funcs: templatefile function
7 years ago
Radek Simko edaa4bbc82
lang: Add fileexists function
8 years ago
Kristin Laemmert eb1d8b7909 cleanup comments for nicer godocs
8 years ago
Kristin Laemmert 755b1e2497 implement pathexpand
8 years ago
Kristin Laemmert 2a2ffb6ef4 implement dirname function
8 years ago
Kristin Laemmert 8c1f0842b0 implement basename function
8 years ago
Martin Atkins 129f5fe74d lang/funcs: port some of Terraform's built-in functions
8 years ago