locksmith

package
v0.0.0-...-42bfd3d Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FlockSyscall = syscall.Flock

Functions

This section is empty.

Types

type FileSystem

type FileSystem struct {
}

func NewFileSystem

func NewFileSystem() *FileSystem

func (*FileSystem) Lock

func (l *FileSystem) Lock(path string) (Unlocker, error)

type Unlocker

type Unlocker interface {
	Unlock() error
}

Jump to

Keyboard shortcuts

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