Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for slicesEqual (0.04 seconds)

  1. internal/mountinfo/mountinfo_linux_test.go

    func mountPointsEqual(a, b mountInfo) bool {
    	if a.Device != b.Device || a.Path != b.Path || a.FSType != b.FSType || !slicesEqual(a.Options, b.Options) || a.Pass != b.Pass || a.Freq != b.Freq {
    		return false
    	}
    	return true
    }
    
    // Checks if two string slices are equal.
    func slicesEqual(a, b []string) bool {
    	if len(a) != len(b) {
    		return false
    	}
    	for i := range a {
    		if a[i] != b[i] {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 7.3K bytes
    - Click Count (0)
Back to Top