Skip to content

Commit

Permalink
remove report to split PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
letFunny committed Jan 16, 2024
1 parent d47ec8d commit c1eb773
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 202 deletions.
62 changes: 0 additions & 62 deletions internal/slicer/report.go

This file was deleted.

127 changes: 0 additions & 127 deletions internal/slicer/report_test.go

This file was deleted.

13 changes: 0 additions & 13 deletions internal/slicer/slicer.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ func Run(options *RunOptions) error {
archives := make(map[string]archive.Archive)
extract := make(map[string]map[string][]deb.ExtractInfo)
pathInfos := make(map[string]setup.PathInfo)
report := NewReport(options.TargetDir)

knownPaths := make(map[string]bool)

Expand Down Expand Up @@ -163,12 +162,6 @@ func Run(options *RunOptions) error {
Globbed: globbedPaths,
FileCreator: fileCreator,
})
for _, file := range fileCreator.Files {
err := report.AddFile(slice, file)
if err != nil {
return err
}
}
reader.Close()
packages[slice.Package] = nil
if err != nil {
Expand Down Expand Up @@ -232,12 +225,6 @@ func Run(options *RunOptions) error {
if err != nil {
return err
}
for _, file := range fileCreator.Files {
err := report.AddFile(slice, file)
if err != nil {
return err
}
}
}
}

Expand Down

0 comments on commit c1eb773

Please sign in to comment.