Versions in this module Expand all Collapse all v0 v0.2.62 May 1, 2024 v0.2.61 Apr 1, 2024 v0.2.60 Mar 1, 2024 v0.2.59 Feb 1, 2024 v0.2.58 Feb 1, 2024 Changes in this version + type CopyCollector struct + DstDir string + func (cc *CopyCollector) WriteFile(fpath string, fi fs.FileInfo, linkName string, f io.Reader) error + type DefaultFs struct + func (*DefaultFs) Open(path string) (io.ReadCloser, error) + func (*DefaultFs) OpenGitIndex(path string) (*index.Index, error) + func (*DefaultFs) Readlink(path string) (string, error) + func (*DefaultFs) Walk(root string, fn filepath.WalkFunc) error + type FileCollector struct + Fs Fs + Handler Handler + Ignorer gitignore.Matcher + SrcPath string + SrcPrefix string + func (fc *FileCollector) CollectFiles(ctx context.Context, submodulePath []string) filepath.WalkFunc + type Fs interface + Open func(path string) (io.ReadCloser, error) + OpenGitIndex func(path string) (*index.Index, error) + Readlink func(path string) (string, error) + Walk func(root string, fn filepath.WalkFunc) error + type Handler interface + WriteFile func(path string, fi fs.FileInfo, linkName string, f io.Reader) error + type TarCollector struct + DstDir string + GID int + TarWriter *tar.Writer + UID int + func (tc TarCollector) WriteFile(fpath string, fi fs.FileInfo, linkName string, f io.Reader) error