Skip to content
This repository was archived by the owner on Sep 9, 2020. It is now read-only.

Commit 33b6c05

Browse files
committed
Remove unused function
1 parent fbc17ea commit 33b6c05

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

manifest.go

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,10 @@
55
package dep
66

77
import (
8+
"bytes"
89
"io"
910
"sort"
1011

11-
"bytes"
12-
1312
"github.com/golang/dep/gps"
1413
"github.com/pelletier/go-toml"
1514
"github.com/pkg/errors"
@@ -140,14 +139,6 @@ func (m *Manifest) toRaw() rawManifest {
140139
return raw
141140
}
142141

143-
// IsEmpty - Checks if payload is empty
144-
func (m *Manifest) IsEmpty() bool {
145-
if len(m.Ovr) == 0 && len(m.Ignored) == 0 && len(m.Dependencies) == 0 && len(m.Required) == 0 {
146-
return true
147-
}
148-
return false
149-
}
150-
151142
type sortedRawProjects []rawProject
152143

153144
func (s sortedRawProjects) Len() int { return len(s) }

0 commit comments

Comments
 (0)