lock

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PathMutexSpec added in v1.6.1

func PathMutexSpec(path string) mutex.Spec

PathMutexSpec returns a mutex spec for a path

func WriteFile

func WriteFile(filename string, data []byte, perm os.FileMode) error

WriteFile decorates ioutil.WriteFile with a file lock and retry

Types

This section is empty.

Jump to

Keyboard shortcuts

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