buildah/util
Nalin Dahyabhai 025a8df513 util.SortMounts(): make the returned order more stable
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>
2022-11-30 16:14:22 -05:00
..
types.go Fix default CNI paths 2022-01-10 15:49:43 +01:00
util.go util.SortMounts(): make the returned order more stable 2022-11-30 16:14:22 -05:00
util_linux.go util: digging UID/GID out of os.FileInfo should work on Unix 2020-11-06 16:24:40 -05:00
util_not_uint64.go CI: expand cross-compile checks 2020-09-03 14:35:32 -04:00
util_test.go util.SortMounts(): make the returned order more stable 2022-11-30 16:14:22 -05:00
util_uint64.go Make util and copier build on FreeBSD 2022-06-13 13:36:20 +01:00
util_unix.go Make util and copier build on FreeBSD 2022-06-13 13:36:20 +01:00
util_unsupported.go util: digging UID/GID out of os.FileInfo should work on Unix 2020-11-06 16:24:40 -05:00
util_windows.go util: digging UID/GID out of os.FileInfo should work on Unix 2020-11-06 16:24:40 -05:00