moby--moby/pkg/idtools
Sebastiaan van Stijn 69f72417f4
pkg/idtools: remove CanAccess(), and move to daemon
The implementation of CanAccess() is very rudimentary, and should
not be used for anything other than a basic check (and maybe not
even for that). It's only used in a single location in the daemon,
so move it there, and un-export it to not encourage others to use
it out of context.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-10-15 22:42:39 +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 CanAccess(), and move to daemon 2022-10-15 22:42:39 +02:00
idtools_unix_test.go pkg/idtools: remove CanAccess(), and move to daemon 2022-10-15 22:42:39 +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: cleanup errors 2022-10-08 21:56:28 +02:00
usergroupadd_unsupported.go Update to Go 1.17.0, and gofmt with Go 1.17 2021-08-24 23:33:27 +02:00
utils_unix.go Update to Go 1.17.0, and gofmt with Go 1.17 2021-08-24 23:33:27 +02:00