mirror of
https://github.com/kopia/kopia.git
synced 2026-03-29 03:21:32 -04:00
- 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
25 lines
547 B
Go
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
|
|
}
|