mirror of
https://github.com/restic/restic.git
synced 2024-12-22 15:57:07 +00:00
10 lines
150 B
Go
10 lines
150 B
Go
//go:build !windows
|
|
// +build !windows
|
|
|
|
package restorer
|
|
|
|
import "os"
|
|
|
|
func truncateSparse(f *os.File, size int64) error {
|
|
return f.Truncate(size)
|
|
}
|