Files
docker-cli/components/engine/pkg
Brian Goff a3765ce30c Optimizations for recurrsive unmount
When a recursive unmount fails, don't bother parsing the mount table to check
if what we expected to be a mountpoint is still mounted. `EINVAL` is
returned when you try to unmount something that is not a mountpoint, the
other cases of `EINVAL` would not apply here unless everything is just
wrong. Parsing the mount table over and over is relatively expensive,
especially in the code path that it's in.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
Upstream-commit: dd2108766017c13a19bdbfd1a56cd1358580e0bb
Component: engine
2018-01-11 16:13:16 -05:00
..
2017-12-18 17:41:53 +01:00
2017-09-12 12:09:59 -04:00
2017-12-18 17:41:53 +01:00
2017-07-31 13:16:46 -07:00
2017-10-24 15:39:34 -04:00
2017-12-18 17:41:53 +01:00
2017-12-18 17:41:53 +01:00
2017-12-18 17:41:53 +01:00
2017-12-18 17:41:53 +01:00
2017-10-02 11:20:21 -07:00
2017-09-12 12:09:59 -04:00
2017-12-18 17:41:53 +01:00
2017-09-08 18:23:21 -04:00
2017-09-12 12:09:59 -04:00
2017-12-18 17:41:53 +01:00
2017-12-18 17:41:53 +01:00
2017-07-03 13:13:09 -07:00
2017-08-21 18:15:08 -04:00
2017-05-08 17:02:02 -07:00
2017-12-18 17:41:53 +01:00
2017-12-18 17:41:53 +01:00
2016-11-13 20:08:51 -08:00
2017-12-18 17:41:53 +01:00
2017-06-26 10:07:04 -07:00
2017-10-25 13:56:12 +02:00

pkg/ is a collection of utility packages used by the Moby project without being specific to its internals.

Utility packages are kept separate from the moby core codebase to keep it as small and concise as possible. If some utilities grow larger and their APIs stabilize, they may be moved to their own repository under the Moby organization, to facilitate re-use by other projects. However that is not the priority.

The directory pkg is named after the same directory in the camlistore project. Since Brad is a core Go maintainer, we thought it made sense to copy his methods for organizing Go code :) Thanks Brad!

Because utility packages are small and neatly separated from the rest of the codebase, they are a good place to start for aspiring maintainers and contributors. Get in touch if you want to help maintain them!