mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-15 02:40:23 +00:00
4e9047dcbd
Bumps [github.com/pkg/xattr](https://github.com/pkg/xattr) from 0.4.7 to 0.4.9. - [Release notes](https://github.com/pkg/xattr/releases) - [Commits](https://github.com/pkg/xattr/compare/v0.4.7...v0.4.9) --- updated-dependencies: - dependency-name: github.com/pkg/xattr dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
71 lines
1.4 KiB
Go
71 lines
1.4 KiB
Go
//go:build !linux && !freebsd && !netbsd && !darwin && !solaris
|
|
// +build !linux,!freebsd,!netbsd,!darwin,!solaris
|
|
|
|
package xattr
|
|
|
|
import (
|
|
"os"
|
|
"syscall"
|
|
)
|
|
|
|
const (
|
|
// We need to use the default for non supported operating systems
|
|
ENOATTR = syscall.Errno(0x59)
|
|
)
|
|
|
|
// XATTR_SUPPORTED will be true if the current platform is supported
|
|
const XATTR_SUPPORTED = false
|
|
|
|
func getxattr(path string, name string, data []byte) (int, error) {
|
|
return 0, nil
|
|
}
|
|
|
|
func lgetxattr(path string, name string, data []byte) (int, error) {
|
|
return 0, nil
|
|
}
|
|
|
|
func fgetxattr(f *os.File, name string, data []byte) (int, error) {
|
|
return 0, nil
|
|
}
|
|
|
|
func setxattr(path string, name string, data []byte, flags int) error {
|
|
return nil
|
|
}
|
|
|
|
func lsetxattr(path string, name string, data []byte, flags int) error {
|
|
return nil
|
|
}
|
|
|
|
func fsetxattr(f *os.File, name string, data []byte, flags int) error {
|
|
return nil
|
|
}
|
|
|
|
func removexattr(path string, name string) error {
|
|
return nil
|
|
}
|
|
|
|
func lremovexattr(path string, name string) error {
|
|
return nil
|
|
}
|
|
|
|
func fremovexattr(f *os.File, name string) error {
|
|
return nil
|
|
}
|
|
|
|
func listxattr(path string, data []byte) (int, error) {
|
|
return 0, nil
|
|
}
|
|
|
|
func llistxattr(path string, data []byte) (int, error) {
|
|
return 0, nil
|
|
}
|
|
|
|
func flistxattr(f *os.File, data []byte) (int, error) {
|
|
return 0, nil
|
|
}
|
|
|
|
// dummy
|
|
func stringsFromByteSlice(buf []byte) (result []string) {
|
|
return []string{}
|
|
}
|