lotus/storage/sealer/fsutil/dealloc_other.go

19 lines
273 B
Go
Raw Normal View History

//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
}