mirror of
https://github.com/kopia/kopia.git
synced 2026-02-18 23:19:08 -05:00
18 lines
421 B
Go
18 lines
421 B
Go
//go:build freebsd || openbsd
|
|
// +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.
|
|
func Directory(ctx context.Context, entry fs.Directory, mountPoint string, mountOptions Options) (Controller, error) {
|
|
return nil, errors.Errorf("mounting is not supported")
|
|
}
|