Repository

CI

filelock

FileSystem level exclusive locks.

Usage

import filelock

fn main() {
    println('Hello lock!')
    mut l := filelock.new('test.lock')
    l.acquire() or { panic(err) }
    // do stuff
    l.release()
}

TODO

  • Merge into the main vlib

Inspiration

About

0
62
last May 7

Author

trufae