Files
kopia/internal/stat/stat_windows.go
Jarek Kowalski cbc66f936d chore(ci): upgraded linter to 1.53.3 (#3079)
* chore(ci): upgraded linter to 1.53.3

This flagged a bunch of unused parameters, so the PR is larger than
usual, but 99% mechanical.

* separate lint CI task

* run Lint in separate CI
2023-06-18 13:26:01 -07:00

26 lines
565 B
Go

//go:build windows
// +build windows
// Package stat provides a cross-platform abstraction for
// common stat commands.
package stat
import "errors"
var errNotImplemented = errors.New("not implemented")
// GetFileAllocSize gets the space allocated on disk for the file
// 'fname' in bytes.
//
//nolint:revive
func GetFileAllocSize(fname string) (uint64, error) {
return 0, errNotImplemented
}
// GetBlockSize gets the disk block size of the underlying system.
//
//nolint:revive
func GetBlockSize(path string) (uint64, error) {
return 0, errNotImplemented
}