File: archiver_windows.go

package info (click to toggle)
golang-github-saracen-fastzip 0.1.11-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 176 kB
  • sloc: makefile: 2
file content (19 lines) | stat: -rw-r--r-- 358 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//go:build windows
// +build windows

package fastzip

import (
	"io"
	"os"

	"github.com/klauspost/compress/zip"
)

func (a *Archiver) createHeader(fi os.FileInfo, hdr *zip.FileHeader) (io.Writer, error) {
	return a.zw.CreateHeader(hdr)
}

func (a *Archiver) createRaw(fi os.FileInfo, hdr *zip.FileHeader) (io.Writer, error) {
	return a.zw.CreateRaw(hdr)
}