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

Function GetModulesArchive

provisioner/terraform/modules.go:88–90  ·  view source on GitHub ↗
(root fs.FS)

Source from the content-addressed store, hash-verified

86}
87
88func GetModulesArchive(root fs.FS) ([]byte, []string, error) {
89 return GetModulesArchiveWithLimit(root, MaximumModuleArchiveSize)
90}
91
92// GetModulesArchiveWithLimit returns the tar archive, the skipped modules, and an error if any.
93func GetModulesArchiveWithLimit(root fs.FS, maxArchiveSize int64) ([]byte, []string, error) {

Callers 3

TestGetModulesArchiveFunction · 0.85
InitMethod · 0.85

Calls 1

Tested by 2

TestGetModulesArchiveFunction · 0.68