NAME

Data::Keys::E::Dir::Lock - uses additional folder to lock files

DESCRIPTION

Places file locks in a different folder.

PROPERTIES

lock_dir

A folder where to place locks. Default is $self->base_dir / .lock.

METHODS

after 'init'

Will create lock folder if not present.

lock_sh

Same as "lock_ex".

lock_ex

Creates a locking file in $self->lock_dir in an exclusive way.

unlock

Release a lock.

AUTHOR

Jozef Kutej