moby--moby/pkg
Sebastiaan van Stijn b9921a5560
Merge pull request #44273 from thaJeztah/use_walkdir
use filepath.WalkDir instead of filepath.Walk
2022-10-21 02:28:56 +02:00
..
aaparser
archive Merge pull request #44273 from thaJeztah/use_walkdir 2022-10-21 02:28:56 +02:00
authorization
broadcaster
capabilities
chrootarchive
containerfs
devicemapper
directory Merge pull request #44251 from thaJeztah/pkg_dir_cleanup 2022-10-15 22:48:19 +02:00
dmesg
fileutils pkg/fileutils: ReadSymlinkedDirectory: preserve underlying error 2022-10-16 20:15:08 +02:00
homedir
idtools pkg/idtools: remove CanAccess(), and move to daemon 2022-10-15 22:42:39 +02:00
ioutils
jsonmessage
longpath
loopback pkg/loopback: use ioctl helpers from x/sys/unix 2022-10-08 21:20:29 +02:00
namesgenerator
parsers
pidfile pkg/pidfile: remove PIDFile type, rename New() to Write() 2022-10-15 16:40:16 +02:00
platform
plugingetter
plugins
pools
progress
reexec Merge pull request #44222 from thaJeztah/godoc_instead_of_readme 2022-10-10 00:06:17 -07:00
stack
stdcopy
streamformatter
stringid
sysinfo
system Merge pull request #44302 from thaJeztah/sys_windows 2022-10-21 00:36:58 +02:00
tailfile
tarsum
useragent
README.md

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!