moby/pkg/idtools
Sebastiaan van Stijn b5376c7cec
pkg/idtools: remove sync.Once, and include lookup error
When running a `docker cp` to copy files to/from a container, the
lookup of the `getent` executable happens within the container's
filesystem, so we cannot re-use the results.

Unfortunately, that also means we can't preserve the results for
any other uses of these functions, but probably the lookup should not
be "too" costly.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-09-06 17:34:26 +02:00
..
idtools.go pkg/idtools: remove deprecated NewIdentityMapping, UIDS() and GIDS() 2022-08-09 18:03:29 +02:00
idtools_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
idtools_unix.go pkg/idtools: remove sync.Once, and include lookup error 2023-09-06 17:34:26 +02:00
idtools_unix_test.go pkg/idtools: use string-literals for easier grep'ing 2023-07-05 12:27:01 +02:00
idtools_windows.go pkg/idtools: remove unused CanAccess() stub for Windows 2022-10-08 18:46:05 +02:00
usergroupadd_linux.go pkg/idtools: remove execCmd() utility 2022-11-01 21:13:10 +01:00
usergroupadd_unsupported.go remove pre-go1.17 build-tags 2023-05-19 20:38:51 +02:00
utils_unix.go remove pre-go1.17 build-tags 2023-05-19 20:38:51 +02:00