mirror of
https://github.com/kopia/kopia.git
synced 2025-12-23 22:57:50 -05:00
- upgrade to golangci-lint 2.6.1 - updates for gosec - updates for govet - updates for perfsprint - updates modernize Leaves out modernize:omitempty due to conflicts with tests
19 lines
411 B
Go
19 lines
411 B
Go
//go:build freebsd || openbsd
|
|
|
|
package mount
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/pkg/errors"
|
|
|
|
"github.com/kopia/kopia/fs"
|
|
)
|
|
|
|
// Directory returns an error due to mounting being unsupported on current operating system.
|
|
//
|
|
//nolint:revive
|
|
func Directory(ctx context.Context, entry fs.Directory, mountPoint string, mountOptions Options) (Controller, error) {
|
|
return nil, errors.New("mounting is not supported")
|
|
}
|