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

Function defaultFileHeader

provisioner/terraform/modules.go:273–281  ·  view source on GitHub ↗
(filePath string, length int)

Source from the content-addressed store, hash-verified

271}
272
273func defaultFileHeader(filePath string, length int) *tar.Header {
274 return &tar.Header{
275 Name: filePath,
276 Size: int64(length),
277 Mode: 0o644,
278 Uid: 1000,
279 Gid: 1000,
280 }
281}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected