kolyshkin pkg/mount: add MakeMount()
This function ensures the argument is the mount point
(i.e. if it's not, it bind mounts it to itself).

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Latest commit 8abadb3 Oct 12, 2018
Permalink
..
Failed to load latest commit information.
aaparser Add canonical import comment Feb 5, 2018
archive make xattr EPERM non-fatal in createTarFile Oct 4, 2018
authorization Format code with gofmt -s from go-1.11beta1 Sep 6, 2018
broadcaster Various code-cleanup May 23, 2018
chrootarchive Add ADD/COPY --chown flag support to Windows Aug 14, 2018
containerfs Add ADD/COPY --chown flag support to Windows Aug 14, 2018
devicemapper Various code-cleanup May 23, 2018
directory Extract volume interaction to a volumes service May 25, 2018
discovery Add canonical import comment Feb 5, 2018
dmesg Add canonical import comment Feb 5, 2018
filenotify pkg/filenotify/poller: fix Close() Aug 30, 2018
fileutils Remove duplicated words in pkg files Oct 5, 2018
fsutils Add canonical import comment Feb 5, 2018
homedir Add canonical import comment Feb 5, 2018
idtools Add ADD/COPY --chown flag support to Windows Aug 14, 2018
ioutils Update tests to use gotest.tools 👼 Jun 13, 2018
jsonmessage Update tests to use gotest.tools 👼 Jun 13, 2018
locker Add canonical import comment Feb 5, 2018
longpath Add canonical import comment Feb 5, 2018
loopback Add canonical import comment Feb 5, 2018
mount pkg/mount: add MakeMount() Oct 12, 2018
namesgenerator added an adjective to kick off another build! Sep 30, 2018
parsers Fix denial of service with large numbers in cpuset-cpus and cpuset-mems Oct 5, 2018
pidfile Add canonical import comment Feb 5, 2018
platform Add canonical import comment Feb 5, 2018
plugingetter Move plugin client to separate interface May 30, 2018
plugins Remove duplicated words in pkg files Oct 5, 2018
pools Update tests to use gotest.tools 👼 Jun 13, 2018
progress pkg/progress: work around closing closed channel panic Sep 6, 2018
pubsub Various code-cleanup May 23, 2018
reexec fix build on OpenBSD by defining Self() Jun 16, 2018
signal SIGSKTFLT does not exist on MIPS, instead SIGEMT does. SIGRTMAX is al… Jul 19, 2018
stdcopy Merge pull request #37088 from ohbarye/fix-typos-duplicated-the May 19, 2018
streamformatter Remove duplicated words in pkg files Oct 5, 2018
stringid Add canonical import comment Feb 5, 2018
symlink Update LICENSE Sep 12, 2018
sysinfo Fix denial of service with large numbers in cpuset-cpus and cpuset-mems Oct 5, 2018
system Windows: Go1.11: Use long path names in build context (TestBuildSymli… Sep 6, 2018
tailfile Add func to get an io.Reader for tail operations Aug 11, 2018
tarsum pkg/tarsum: fix unit test for Go 1.11+ Jul 19, 2018
term Fix #28814 Aug 7, 2018
truncindex fixes display text in Multiple IDs found with provided prefix Sep 24, 2018
urlutil Be explicit about github.com prefix being a legacy feature May 30, 2018
useragent Add canonical import comment Feb 5, 2018
README.md Rename a few docker to moby Oct 25, 2017

README.md

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!