mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-07-31 19:17:30 +08:00
remove unused code
This commit is contained in:
parent
6b3beb709d
commit
530da0cc89
@ -1,13 +0,0 @@
|
||||
package filer_pb
|
||||
|
||||
func (r *CreateEntryRequest) AddSignature(sig int32) {
|
||||
r.Signatures = append(r.Signatures, sig)
|
||||
}
|
||||
func (r *CreateEntryRequest) HasSigned(sig int32) bool {
|
||||
for _, s := range r.Signatures {
|
||||
if s == sig {
|
||||
return true
|
||||
}
|
||||
}
|
||||
return false
|
||||
}
|
Loading…
Reference in New Issue
Block a user