Documentation
¶
Overview ¶
Package procowner records which process instance created a durable artifact and reports whether that exact process is still running.
Index ¶
Constants ¶
View Source
const SchemaVersion = 1
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Classification ¶
type Classification string
const ( Owned Classification = "owned" Orphaned Classification = "orphaned" )
func Classify ¶
func Classify(rec Owner) Classification
Classify answers Orphaned only when the recorded process is affirmatively gone. Everything else — a reused PID whose start time differs, a denied or unreadable probe, a record this build cannot interpret — is Owned, so an artifact is retained rather than replayed against a live process.
Click to show internal directories.
Click to hide internal directories.