moby--moby/cmd
Sebastiaan van Stijn 43d6eb7173
pkg/pidfile: remove PIDFile type, rename New() to Write()
This type felt really redundant; `pidfile.New()` takes the path of the file to
create as an argument, so this is already known. The only thing the PIDFile
type provided was a `Remove()` method, which was just calling `os.Remove()` on
the path of the file.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-10-15 16:40:16 +02:00
..
docker-proxy use go-winres for cross to create Windows resources 2022-04-14 19:52:35 +02:00
dockerd pkg/pidfile: remove PIDFile type, rename New() to Write() 2022-10-15 16:40:16 +02:00