2
2
mirror of https://github.com/octoleo/restic.git synced 2025-01-28 09:38:39 +00:00

35 lines
884 B
Go
Raw Normal View History

2022-03-28 22:23:47 +02:00
//go:build aix
2020-05-24 19:32:19 +02:00
// +build aix
package fs
2020-05-24 19:32:19 +02:00
import (
"syscall"
"github.com/restic/restic/internal/restic"
)
2020-05-24 19:32:19 +02:00
func nodeRestoreSymlinkTimestamps(_ string, _ [2]syscall.Timespec) error {
2020-05-24 19:32:19 +02:00
return nil
}
// nodeRestoreExtendedAttributes is a no-op on AIX.
func nodeRestoreExtendedAttributes(_ *restic.Node, _ string) error {
return nil
2020-05-24 19:32:19 +02:00
}
// nodeFillExtendedAttributes is a no-op on AIX.
func nodeFillExtendedAttributes(_ *restic.Node, _ string, _ bool) error {
return nil
2020-05-24 19:32:19 +02:00
}
// 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
}