Skip to content

ipfs/go-fs-lock

Folders and files

NameName
Last commit message
Last commit date
Mar 22, 2024
Jan 31, 2018
Feb 6, 2018
Sep 19, 2019
Jul 21, 2021
Jul 21, 2021
Mar 2, 2023
Mar 2, 2023
Mar 2, 2023
Jan 25, 2021
Feb 16, 2025
Aug 17, 2021
Dec 10, 2021

Repository files navigation

go-fs-lock

GoDoc Coverage Status Travis CI

Filesystem based locking

Lead Maintainer

Steven Allen

Table of Contents

Install

go-fs-lock is a standard Go module which can be installed with:

go get github.com/ipfs/go-fs-lock

Note that go-fs-lock is packaged with Gx, so it is recommended to use Gx to install and use it (see Usage section).

Usage

Using Gx and Gx-go

This module is packaged with Gx. In order to use it in your own project it is recommended that you:

go get -u github.com/whyrusleeping/gx
go get -u github.com/whyrusleeping/gx-go
cd <your-project-repository>
gx init
gx import github.com/ipfs/go-fs-lock
gx install --global
gx-go --rewrite

Please check Gx and Gx-go documentation for more information.

Running tests

Before running tests, please run:

make deps

This will make sure that dependencies are rewritten to known working versions.

Contribute

PRs are welcome!

Small note: If editing the Readme, please conform to the standard-readme specification.

License

MIT © Protocol Labs, Inc.