Files
kopia/internal/stat/stat_windows.go
Nathan Baulch 657fda216a chore(ci): upgrade to golangci-lint 2.6.1 (#4973)
- upgrade to golangci-lint 2.6.1
- updates for gosec
- updates for govet
- updates for perfsprint
- updates modernize

Leaves out modernize:omitempty due to conflicts with tests
2025-11-11 21:27:10 -08:00

25 lines
547 B
Go

//go: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
}