# Functions

Create is like os.Create, but returns a write-locked file.
Edit creates the named file with mode 0666 (before umask), but does not truncate existing contents.
MutexAt returns a new Mutex with Path set to the given non-empty path.
Open is like os.Open, but returns a read-locked file.
OpenFile is like os.OpenFile, but returns a locked file.
Read opens the named file with a read-lock and returns its contents.
Transform invokes t with the result of reading the named file, with its lock still held.
Write opens the named file (creating it with the given permissions if needed), then write-locks it and overwrites it with the given content.

# Structs

A File is a locked *os.File.
A Mutex provides mutual exclusion within and across processes by locking a well-known file.