Skip to content

Commit

Permalink
fix build in mac
Browse files Browse the repository at this point in the history
  • Loading branch information
davies committed Sep 13, 2024
1 parent 4d8f346 commit 25e0a94
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions fuse/mount_darwin.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,3 +194,9 @@ func mountV4(mountPoint string, opts *MountOptions, ready chan<- error) (fd int,
func unmount(dir string, opts *MountOptions) error {
return syscall.Unmount(dir, 0)
}

// parseFuseFd checks if `mountPoint` is the special form /dev/fd/N (with N >= 0),
// and returns N in this case. Returns -1 otherwise.
func parseFuseFd(mountPoint string) (fd int) {
return -1
}

0 comments on commit 25e0a94

Please sign in to comment.