MCPcopy
hub / github.com/nektos/act / TarCollector

Struct TarCollector

pkg/filecollector/file_collector.go:24–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22}
23
24type TarCollector struct {
25 TarWriter *tar.Writer
26 UID int
27 GID int
28 DstDir string
29}
30
31func (tc TarCollector) WriteFile(fpath string, fi fs.FileInfo, linkName string, f io.Reader) error {
32 // create a new dir/file header

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected