homelock

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2026 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ClaimFileName    = "acp-go-opencode-runtime.claim.lock"
	LivenessFileName = "acp-go-opencode-runtime.liveness.lock"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Lock

type Lock struct {
	// contains filtered or unexported fields
}

func Acquire

func Acquire(home string) (*Lock, error)

func AcquireClaim

func AcquireClaim(home string) (*Lock, error)

func AcquireLiveness

func AcquireLiveness(home string) (*Lock, error)

func (*Lock) Release

func (l *Lock) Release() error

Jump to

Keyboard shortcuts

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