2021-08-27 19:25:43 +00:00
|
|
|
//go:build !linux
|
2020-07-03 19:52:31 +00:00
|
|
|
// +build !linux
|
|
|
|
|
|
|
|
package fsutil
|
|
|
|
|
|
|
|
import (
|
|
|
|
"os"
|
|
|
|
|
|
|
|
logging "github.com/ipfs/go-log/v2"
|
|
|
|
)
|
|
|
|
|
|
|
|
var log = logging.Logger("fsutil")
|
|
|
|
|
|
|
|
func Deallocate(file *os.File, offset int64, length int64) error {
|
|
|
|
log.Warnf("deallocating space not supported")
|
|
|
|
|
2020-07-09 17:29:05 +00:00
|
|
|
return nil
|
2020-07-03 19:52:31 +00:00
|
|
|
}
|