Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf2f4a83

Browse files
committed
chore: Remove unused equality func
1 parentcf71344 commitf2f4a83

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
returno.sshConfigFile==sshDefaultConfigFileName&&len(o.sshOptions)==0
6666
}
6767

68-
func (osshCoderConfigOptions)equal(othersshCoderConfigOptions)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-
returno.sshConfigFile==other.sshConfigFile&&slices.Equal(opt1,opt2)
75-
}
76-
7768
func (osshCoderConfigOptions)asArgs() (args []string) {
7869
ifo.sshConfigFile!=sshDefaultConfigFileName {
7970
args=append(args,"--ssh-config-file",o.sshConfigFile)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp