diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2022-06-05 18:27:23 -0600 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2022-06-05 18:27:23 -0600 |
commit | 7ef276daaa132683ff8b04004f1ce5c992097d14 (patch) | |
tree | ad58a97758e9706e169125bb4f1954a880bd0a04 /pkg/btrfs/internal | |
parent | 74b109b0a75ae6648f9381252d8beb5ce6025df3 (diff) |
arrays can be compared directly
Diffstat (limited to 'pkg/btrfs/internal')
-rw-r--r-- | pkg/btrfs/internal/uuid.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/pkg/btrfs/internal/uuid.go b/pkg/btrfs/internal/uuid.go index ff274d9..6169638 100644 --- a/pkg/btrfs/internal/uuid.go +++ b/pkg/btrfs/internal/uuid.go @@ -1,7 +1,6 @@ package internal import ( - "bytes" "encoding/hex" "strings" ) @@ -18,7 +17,3 @@ func (uuid UUID) String() string { str[20:32], }, "-") } - -func (a UUID) Equal(b UUID) bool { - return bytes.Equal(a[:], b[:]) -} |