test: add GetAccountVirtualFilesByPath
test
This commit is contained in:
13
pkg/utils/slice.go
Normal file
13
pkg/utils/slice.go
Normal file
@ -0,0 +1,13 @@
|
||||
package utils
|
||||
|
||||
func SliceEqual[T comparable](a, b []T) bool {
|
||||
if len(a) != len(b) {
|
||||
return false
|
||||
}
|
||||
for i, v := range a {
|
||||
if v != b[i] {
|
||||
return false
|
||||
}
|
||||
}
|
||||
return true
|
||||
}
|
Reference in New Issue
Block a user