Skip to content

Commit

Permalink
remove unused function
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Ramlot <[email protected]>
  • Loading branch information
inteon committed Dec 19, 2023
1 parent ee9ff49 commit c9b4969
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions pkg/mod/index.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,17 +147,6 @@ func (w WorkDir) Init() error {
})
}

func (w WorkDir) RemoveTarget(target string, dep KloneItem) error {
return w.editKloneFile(func(kf *kloneFile) error {
if kf.Targets == nil {
return nil
}

delete(kf.Targets, target)
return nil
})
}

func (w WorkDir) AddTarget(target string, folderName string, dep KloneSource) error {
return w.editKloneFile(func(kf *kloneFile) error {
if kf.Targets == nil {
Expand Down

0 comments on commit c9b4969

Please sign in to comment.