github.com/keybase/client/go@v0.0.0-20241007131713-f10651d043c8/mounter/mounter_windows.go (about) 1 // Copyright 2015 Keybase, Inc. All rights reserved. Use of 2 // this source code is governed by the included BSD license. 3 4 //go:build windows 5 // +build windows 6 7 package mounter 8 9 import "fmt" 10 11 // Unmount tries to unmount normally and then if force if unsuccessful. 12 func Unmount(dir string, force bool, log Log) error { 13 return fmt.Errorf("Unmount unsupported on this platform") 14 } 15 16 // ForceUnmount tries to forceably unmount a directory 17 func ForceUnmount(dir string, log Log) (err error) { 18 return fmt.Errorf("ForceUnmount unsupported on this platform") 19 }