(a, b []string)
| 4120 | } |
| 4121 | |
| 4122 | func equalStringsInAnyOrder(a, b []string) bool { |
| 4123 | if len(a) != len(b) { |
| 4124 | return false |
| 4125 | } |
| 4126 | slices.Sort(a) |
| 4127 | slices.Sort(b) |
| 4128 | for i := range a { |
| 4129 | if a[i] != b[i] { |
| 4130 | return false |
| 4131 | } |
| 4132 | } |
| 4133 | return true |
| 4134 | } |
| 4135 | |
| 4136 | // modtimeTruncatingFS is a FileSystem that returns modification times only |
| 4137 | // to the closest two `trunc` interval. |
no test coverage detected