MCPcopy Index your code
hub / github.com/coder/coder / Layout

TypeAlias Layout

provisionersdk/tfpath/tfpath.go:42–42  ·  view source on GitHub ↗

Layout is the terraform execution working directory structure. It also contains some methods for common file operations within that layout. Such as "Cleanup" and "ExtractArchive". TODO: Maybe we should include the afero.FS here as well, then all operations would be on the same FS?

Source from the content-addressed store, hash-verified

40// TODO: Maybe we should include the afero.FS here as well, then all operations
41// would be on the same FS?
42type Layout string
43
44// WorkDirectory returns the root working directory for Terraform files.
45func (l Layout) WorkDirectory() string { return string(l) }

Callers 1

SessionFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected