From 530da0cc89a01342ee7ea512a55e3efeb2e1132d Mon Sep 17 00:00:00 2001 From: chrislu Date: Wed, 22 Jun 2022 00:34:25 -0700 Subject: [PATCH] remove unused code --- weed/pb/filer_pb/signature.go | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 weed/pb/filer_pb/signature.go diff --git a/weed/pb/filer_pb/signature.go b/weed/pb/filer_pb/signature.go deleted file mode 100644 index e13afc656..000000000 --- a/weed/pb/filer_pb/signature.go +++ /dev/null @@ -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 -}