mirror of
https://github.com/kopia/kopia.git
synced 2026-03-11 18:56:28 -04:00
* 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
26 lines
565 B
Go
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
|
|
}
|