godock: github.com/sqp/godock/libs/files/fileaccess Index | Files

package fileaccess

import "github.com/sqp/godock/libs/files/fileaccess"

Package fileaccess serialize files access.

Index

Package Files

fileaccess.go

func Lock Uses

func Lock(log cdtype.Logger)

Lock locks and prevents concurrent access to config files. Could be improved, but it may be safer to use for now.

func Unlock Uses

func Unlock(log cdtype.Logger)

Unlock releases the access to config files.

Package fileaccess imports 2 packages (graph) and is imported by 1 packages. Updated 2017-11-25. Refresh now. Tools for package owners.