[][src]Module elba::util::lock

Locking to make sure that multiple copies of elba don't clobber each other.

As it is currently designed, elba doesn't need to lock individual files. It does, however, need to lock directories to prevent other processes from using them.

Structs

DirLock

A lock on a directory. This just generates a sibling file to the directory which indicates that the directory is locked.