Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
alist-org
GitHub Repository: alist-org/alist
Path: blob/main/internal/fuse/mount.go
1560 views
1
package fuse
2
3
import "github.com/winfsp/cgofuse/fuse"
4
5
func Mount(mountSrc, mountDst string, opts []string) {
6
fs := &Fs{RootFolder: mountSrc}
7
host := fuse.NewFileSystemHost(fs)
8
go host.Mount(mountDst, opts)
9
}
10
11