filelock

package
v0.0.0-...-3ce85d1 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const LockTo = 60 * 60 * 24

LockTo LockTo

Variables

This section is empty.

Functions

func Filelock

func Filelock(fs afero.Fs, filepath string, fn func() error) error

Filelock Filelock

func IsFree

func IsFree(fs afero.Fs, path string) (bool, error)

IsFree IsFree

func Lock

func Lock(fs afero.Fs, path string) error

Lock Lock

Types

This section is empty.

Jump to

Keyboard shortcuts

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