Registry / utility / ipfs-go-fs-lock

ipfs-go-fs-lock

JSON →
library0.1.1gogounverified

Provides file system locking utilities for IPFS and related projects.

go get github.com/ipfs/go-fs-lock
INSTALL
IMPORT
SIG · IPFS-GO-FS-LOCK
I
ipfs-go-fs-lock
utilitygov0.1.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

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

Locks a file system path.

package main import ( "fmt" "github.com/ipfs/go-fs-lock" ) func main() { lock, err := fslock.Lock("/tmp/mylock") if err != nil { fmt.Println(err) return } defer lock.Unlock() fmt.Println("locked") }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
ipfs-go-fs-lock — go get ipfs-go-fs-lock · libregistry