Skip to content

Protect file access within shell commands via a wrapper that adds cooperative locking.

License

Notifications You must be signed in to change notification settings

inkarkat/withTransaction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

With Transaction

Protect file access within shell commands via a wrapper that adds cooperative locking.

Build Status

This small tool decorates existing command(s) that work on a single text file (and assume unfettered access) with protections for concurrent accesses via file locking of a separate lock file, thereby providing support for simple transactions, with multiple concurrent reads, a singular write (and a command to update from read to write), and rollback of any updates done under the transaction.

Dependencies

Installation

  • The ./bin subdirectory is supposed to be added to PATH.

About

Protect file access within shell commands via a wrapper that adds cooperative locking.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages