1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/volume/mounts
Sebastiaan van Stijn 384517218a
volume/mounts: remove windowsValidateRegex() utility
This utility was just a shallow wrapper around executing the regular
expression, and in some cases, we didn't even use the error it returned,
so better to inline the code instead of abstracting it away.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-07-27 10:06:31 +02:00
..
lcow_parser.go volume/mounts: remove windowsValidateRegex() utility 2021-07-27 10:06:31 +02:00
lcow_parser_test.go volume/mounts: use sub-tests, and use gotest.tools 2021-07-02 14:11:57 +02:00
linux_parser.go volume/mounts: don't use global variable for fileinfoprovider 2021-07-02 14:11:55 +02:00
linux_parser_test.go volume/mounts: use sub-tests, and use gotest.tools 2021-07-02 14:11:57 +02:00
mounts.go SELinux: fix ENOTSUP errors not being detected when relabeling 2020-05-10 17:06:44 +02:00
parser.go volume/mounts: add constructors for each parser 2021-07-02 14:11:50 +02:00
parser_test.go volume/mounts: split tests per parser 2021-07-02 14:08:34 +02:00
validate.go Tweak bind mount errors 2018-09-28 12:18:58 +02:00
validate_test.go volume/mounts: add constructors for each parser 2021-07-02 14:11:50 +02:00
validate_unix_test.go Move mount parsing to separate package. 2018-04-19 06:35:54 -04:00
validate_windows_test.go Move mount parsing to separate package. 2018-04-19 06:35:54 -04:00
volume_copy.go Move mount parsing to separate package. 2018-04-19 06:35:54 -04:00
volume_unix.go volume/mounts: move some code to correct location, and minor linting/formatting 2021-07-02 13:25:27 +02:00
volume_windows.go volume/mounts: move some code to correct location, and minor linting/formatting 2021-07-02 13:25:27 +02:00
windows_parser.go volume/mounts: remove windowsValidateRegex() utility 2021-07-27 10:06:31 +02:00
windows_parser_test.go volume/mounts: use sub-tests, and use gotest.tools 2021-07-02 14:11:57 +02:00