ownership

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Lock

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

func Own

func Own(dir string) (*Lock, error)

func (*Lock) Close

func (l *Lock) Close() error

func (*Lock) Holds

func (l *Lock) Holds(dir string) bool

Holds checks that the live ownership descriptor belongs to this workspace.

Jump to

Keyboard shortcuts

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