Documentation ¶
Overview ¶
Package info provides functions useful to create types like info.Range
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FixRange ¶
FixRange fix the given range. This is necessary since on tests we don't know the sandbox project path, so host absolute paths must be updated here.
func FixRangesOnConfig ¶
FixRangesOnConfig fix the ranges on the given HCL config. This is necessary since on tests we don't know the sandbox project path, so host absolute paths must be updated here.
func Range ¶
Range builds a info.Range for testing purposes. On tests we don't know the rootdir at test definition, so no rootdir is required. The returned range, if set on an hcl.Config will have to be fixed with FixRangesOnConfig before being compared to actual results.
Types ¶
This section is empty.