Use sort.Stable() instead of sort.Sort() to sort mounts, and have the comparison function compare the cleaned paths directly if they have the same number of components, so that there's a defined ordering between "/a" and "/b". Signed-off-by: Nalin Dahyabhai <nalin@redhat.com> |
||
---|---|---|
.. | ||
types.go | ||
util.go | ||
util_linux.go | ||
util_not_uint64.go | ||
util_test.go | ||
util_uint64.go | ||
util_unix.go | ||
util_unsupported.go | ||
util_windows.go |