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
65
1 year ago

Author

trufae