Download the PHP package crazedsanity/lockfile without Composer
On this page you can find all versions of the php package crazedsanity/lockfile. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download crazedsanity/lockfile
More information about crazedsanity/lockfile
Files in crazedsanity/lockfile
Download crazedsanity/lockfile
More information about crazedsanity/lockfile
Files in crazedsanity/lockfile
Vendor crazedsanity
Package lockfile
Short Description Create a *.lock file, such as to lock down upgrades from running concurrently.
License MIT
Homepage http://www.crazedsanity.com
Package lockfile
Short Description Create a *.lock file, such as to lock down upgrades from running concurrently.
License MIT
Homepage http://www.crazedsanity.com
Please rate this library. Is it a good library?
Informations about the package lockfile
Lock File
This class is intended to avoid having multiple instances of a certain process (like an upgrade, such as with cs_webdbupgrade) from "tripping" over each other. Create a lock file somewhere on the system (which is readable + writable), and remove it when the operation completes. The file should stay if there's a problem that keeps the operation from completing (because trying again would probably fail, or would make things worse).
You may want to look at Web DB Upgrade for an implementation example.
All versions of lockfile with dependencies
PHP Build Version
Package Version
The package crazedsanity/lockfile contains the following files
Loading the files please wait ....