lock

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2021 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

View Source
const (
	LockFile1 = "daemon.lock"
	LockFile2 = "repo.lock"
)

LockFile is the filename of the daemon lock, relative to config dir lock changed names.

Variables

This section is empty.

Functions

func Lock1

func Lock1(confdir string) (io.Closer, error)

func Lock2

func Lock2(confdir string) (io.Closer, error)

func Remove1

func Remove1(confdir string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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