Skip to content

Commit f2f4a83

Browse files
committed
chore: Remove unused equality func
1 parent cf71344 commit f2f4a83

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

cli/configssh.go

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -65,15 +65,6 @@ func (o sshCoderConfigOptions) isZero() bool {
6565
return o.sshConfigFile == sshDefaultConfigFileName && len(o.sshOptions) == 0
6666
}
6767

68-
func (o sshCoderConfigOptions) equal(other sshCoderConfigOptions) bool {
69-
// Compare without side-effects or regard to order.
70-
opt1 := slices.Clone(o.sshOptions)
71-
sort.Strings(opt1)
72-
opt2 := slices.Clone(other.sshOptions)
73-
sort.Strings(opt2)
74-
return o.sshConfigFile == other.sshConfigFile && slices.Equal(opt1, opt2)
75-
}
76-
7768
func (o sshCoderConfigOptions) asArgs() (args []string) {
7869
if o.sshConfigFile != sshDefaultConfigFileName {
7970
args = append(args, "--ssh-config-file", o.sshConfigFile)

0 commit comments

Comments
 (0)