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

Function DirHasLockfile

provisionersdk/archive.go:39–41  ·  view source on GitHub ↗
(dir string)

Source from the content-addressed store, hash-verified

37}
38
39func DirHasLockfile(dir string) (bool, error) {
40 return dirHasExt(dir, ".terraform.lock.hcl")
41}
42
43// Tar archives a Terraform directory.
44func Tar(w io.Writer, logger slog.Logger, directory string, limit int64) error {

Callers 1

checkForLockfileMethod · 0.92

Calls 1

dirHasExtFunction · 0.85

Tested by

no test coverage detected