os.File.Truncate (method)

2 uses

	os (current package)
		file_posix.go#L149: func (f *File) Truncate(size int64) error {

	github.com/gotd/td/telegram/downloader
		builder.go#L321: 		if err := f.Truncate(b.size); err != nil {