mirror of
https://github.com/octoleo/restic.git
synced 2024-11-15 01:34:06 +00:00
11 lines
150 B
Go
11 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)
|
||
|
}
|