mirror of
https://github.com/OpenListTeam/OpenList.git
synced 2025-09-19 20:26:26 +08:00
10 lines
212 B
Go
10 lines
212 B
Go
package fuse
|
|
|
|
import "github.com/winfsp/cgofuse/fuse"
|
|
|
|
func Mount(mountSrc, mountDst string, opts []string) {
|
|
fs := &Fs{RootFolder: mountSrc}
|
|
host := fuse.NewFileSystemHost(fs)
|
|
go host.Mount(mountDst, opts)
|
|
}
|