1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
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