Documentation ¶
Overview ¶
Helpers for dealing with file paths and their contents
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Read ¶
If the argument is a path, Read loads it and returns the contents, otherwise the argument is assumed to be the desired contents and is simply returned.
The boolean second return value can be called `wasPath` - it indicates if a path was detected and a file loaded.
This implementation is copied from v1 Terraform SDK since it was removed from v2 SDK.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.