8000 GitHub - inkarkat/withTransaction: Protect file access within shell commands via a wrapper that adds cooperative locking. · GitHub
[go: up one dir, main page]

Skip to content

About

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

Resources

Stars

2 stars

Watchers

1 watching

Forks

Latest commit

 

History

48 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

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

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

0