mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-21 18:37:45 +08:00
* refactor: remove goprocess The `goprocess` package is no longer needed. It can be replaces by modern `context` and `context.AfterFunc`. * mod tidy * log unmount errors on shutdown * Do not log non-mounted errors on shutdown * Use WaitGroup associated with IPFS node to wait for services to whutdown * Prefer explicit Close to context.ArterFunc * Do not use node-level WaitGroup * Unmount for non-supported platforms * fix return values * test: daemon shuts down gracefully make sure ongoing operations dont block shutdown * test(cli): add TestFUSE * test: smarter RequiresFUSE opportunistically run FUSE tests if env has fusermount and TEST_FUSE was not explicitly set * docs: changelog --------- Co-authored-by: gammazero <gammazero@users.noreply.github.com> Co-authored-by: Marcin Rataj <lidel@lidel.org>
19 lines
439 B
Go
19 lines
439 B
Go
//go:build (!nofuse && openbsd) || (!nofuse && netbsd) || (!nofuse && plan9)
|
|
// +build !nofuse,openbsd !nofuse,netbsd !nofuse,plan9
|
|
|
|
package node
|
|
|
|
import (
|
|
"errors"
|
|
|
|
core "github.com/ipfs/kubo/core"
|
|
)
|
|
|
|
func Mount(node *core.IpfsNode, fsdir, nsdir, mfsdir string) error {
|
|
return errors.New("FUSE not supported on OpenBSD or NetBSD. See #5334 (https://github.com/ipfs/kubo/issues/5334).")
|
|
}
|
|
|
|
func Unmount(node *core.IpfsNode) {
|
|
return
|
|
}
|