pkg/archive/changes_other.go
Function collectFileInfo
has 8 return statements (exceeds 4 allowed). Open
Open
func collectFileInfo(sourceDir string) (*FileInfo, error) {
root := newRootFileInfo()
err := filepath.WalkDir(sourceDir, func(path string, _ os.DirEntry, err error) error {
if err != nil {