Documentation
¶
Overview ¶
Package lockfile provides utilities for managing file locks and cleanup.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanupAllLocks ¶
func CleanupAllLocks()
CleanupAllLocks provides global cleanup of all registered lock files
func CleanupStaleLocks ¶
CleanupStaleLocks removes stale lock files from the specified directories A lock file is considered stale if it's older than the maxAge duration
func NewTrackedLock ¶
NewTrackedLock creates a new file lock and registers it for cleanup
func ReleaseTrackedLock ¶
ReleaseTrackedLock unlocks, removes, and unregisters a lock file
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.