Filelock Filelock provides helpful utility functions around using flock to take locks on filesystem paths in go. This code was extracted from the rkt project after it was archived. License Apache 2.0. Copyright The rkt authors