mirror of
https://github.com/containers/skopeo.git
synced 2025-09-25 12:16:17 +00:00
22 lines
404 B
Go
22 lines
404 B
Go
//go:build windows
|
|
// +build windows
|
|
|
|
package graphdriver
|
|
|
|
import (
|
|
"os"
|
|
"syscall"
|
|
|
|
"github.com/containers/storage/pkg/idtools"
|
|
)
|
|
|
|
type platformChowner struct{}
|
|
|
|
func newLChowner() *platformChowner {
|
|
return &platformChowner{}
|
|
}
|
|
|
|
func (c *platformChowner) LChown(path string, info os.FileInfo, toHost, toContainer *idtools.IDMappings) error {
|
|
return &os.PathError{"lchown", path, syscall.EWINDOWS}
|
|
}
|