forked from TrueCloudLab/restic
39 lines
998 B
Go
39 lines
998 B
Go
//go:build aix
|
|
// +build aix
|
|
|
|
package fs
|
|
|
|
import (
|
|
"syscall"
|
|
|
|
"github.com/restic/restic/internal/restic"
|
|
)
|
|
|
|
func nodeRestoreSymlinkTimestamps(_ string, _ [2]syscall.Timespec) error {
|
|
return nil
|
|
}
|
|
|
|
// nodeRestoreExtendedAttributes is a no-op on AIX.
|
|
func nodeRestoreExtendedAttributes(_ *restic.Node, _ string) error {
|
|
return nil
|
|
}
|
|
|
|
// nodeFillExtendedAttributes is a no-op on AIX.
|
|
func nodeFillExtendedAttributes(_ *restic.Node, _ string, _ bool) error {
|
|
return nil
|
|
}
|
|
|
|
// isListxattrPermissionError is a no-op on AIX.
|
|
func isListxattrPermissionError(_ error) bool {
|
|
return false
|
|
}
|
|
|
|
// nodeRestoreGenericAttributes is no-op on AIX.
|
|
func nodeRestoreGenericAttributes(node *restic.Node, _ string, warn func(msg string)) error {
|
|
return restic.HandleAllUnknownGenericAttributesFound(node.GenericAttributes, warn)
|
|
}
|
|
|
|
// nodeFillGenericAttributes is a no-op on AIX.
|
|
func nodeFillGenericAttributes(_ *restic.Node, _ string, _ *ExtendedFileInfo) (allowExtended bool, err error) {
|
|
return true, nil
|
|
}
|