//
pkg.gl
Category
github.com/laurentgoderre/moby
pkg
pidfile
package
0.0.0-20250130204033-e82d90384e5b
Repository:
https://github.com/laurentgoderre/moby.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
5
Dependents
0
Files
37 SLOC
#
Functions
Read
Read reads the "PID file" at path, and returns the PID if it contains a valid PID of a running process, or 0 otherwise.
Write
Write writes a "PID file" at the specified path.