Skip to content

Commit

Permalink
cgofuse: minor - pkg documentation -> doc.go
Browse files Browse the repository at this point in the history
  • Loading branch information
djdv committed Dec 17, 2022
1 parent 3750aaa commit 152e34b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 3 additions & 0 deletions internal/filesystem/cgofuse/doc.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// Package cgofuse implements a wrapper around [fs.FS]
// to make it compatible with the [fuse.FileSystemHost] interface.
package cgofuse
3 changes: 1 addition & 2 deletions internal/filesystem/cgofuse/fuse.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
//go:build !nofuse

// Package cgofuse implements a wrapper around [fs.FS]
// to make it compatible with the [fuse.FileSystemHost] interface.
package cgofuse

import (
Expand Down Expand Up @@ -116,6 +114,7 @@ func (fh *Fuse) Mount(mountpoint string) error {
fh.fuseHostSettings.apply(fuseHost)

target, args := makeFuseArgs(fsID, mountpoint)
// args = append(args, "-d")
if err := attachToHost(fuseHost, target, args); err != nil {
return err
}
Expand Down

0 comments on commit 152e34b

Please sign in to comment.