read_file
The read_file
function reads the contents of a file specified by the given locator, and requires that the Starlark script is part of a package. read_file
executes at interpretation time so the file contents won't be displayed in the preview.
contents = read_file(
# The Kurtosis locator of the file to read.
# MANDATORY
src = "github.com/kurtosis-tech/datastore-army-package/README.md",
)