File size: 212 Bytes
7107f0b
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
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)
}