lockfile

package
v1.11.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanAndExitOnInterrupt added in v1.10.2

func CleanAndExitOnInterrupt(clean func()) func()

the returned function may be used to avoid goroutine leak (also avoid conflicting behavior with versionmanager/proxy.transmitIncreasingSignal).

func Write

func Write(dirPath string, displayer loghelper.Displayer) func()

! dirPath must already exist (no mkdir here). the returned function must be used to delete the lock.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL