nvidia-container-toolkit/internal/lookup
Evan Lezar e1ea0056b9 Fix bug in sorting of symlink chain
Since we use a map to keep track of the elements of a symlink chain
the construction of the final list of located elements is not stable.
This change constructs the output as this is being discovered and as
such maintains the original ordering.

Signed-off-by: Evan Lezar <elezar@nvidia.com>
2024-10-24 15:56:25 +02:00
..
cuda run goimports -local against the entire codebase 2023-12-01 11:13:17 +01:00
root Add RelativeToRoot function to Driver 2024-07-09 13:54:07 +02:00
symlinks Fix typo in error message 2024-10-17 15:46:49 +02:00
device_test.go Allow locator to be marked as optional 2023-01-25 10:38:11 +01:00
device.go Allow locator to be marked as optional 2023-01-25 10:38:11 +01:00
dir.go Use functional options when constructing direcory locator 2023-07-18 15:36:03 +02:00
executable_test.go Use getSearchPrefixes for all locators 2022-12-02 13:55:13 +01:00
executable.go Define a basic logger interface 2023-06-12 10:46:10 +02:00
file_test.go Add support for specifying multiple prefixes 2022-12-02 13:55:13 +01:00
file.go Remove duplicate not found error 2023-11-21 18:09:42 +01:00
library_test.go run goimports -local against the entire codebase 2023-12-01 11:13:17 +01:00
library.go Add support for specifying search paths 2023-11-22 13:27:47 +01:00
locator_mock.go Regenerate mocks for formatting 2023-04-25 11:26:55 +02:00
locator.go Add support for specifying search paths 2023-11-22 13:27:47 +01:00
merge.go Make library lookups more robust 2023-11-06 12:15:28 -06:00
path.go Add lookup.GetPath and lookup.GetPaths functions 2022-05-10 14:52:47 +02:00
symlinks.go Fix bug in sorting of symlink chain 2024-10-24 15:56:25 +02:00