2022-03-28 22:23:47 +02:00
|
|
|
//go:build aix
|
2020-05-24 19:32:19 +02:00
|
|
|
// +build aix
|
|
|
|
|
2024-08-26 23:03:25 +02:00
|
|
|
package fs
|
2020-05-24 19:32:19 +02:00
|
|
|
|
2024-10-04 10:06:18 +02:00
|
|
|
import "github.com/restic/restic/internal/restic"
|
2020-05-24 19:32:19 +02:00
|
|
|
|
2024-08-26 22:35:22 +02:00
|
|
|
// nodeRestoreExtendedAttributes is a no-op on AIX.
|
2024-08-26 23:03:25 +02:00
|
|
|
func nodeRestoreExtendedAttributes(_ *restic.Node, _ string) error {
|
2024-05-17 14:18:20 -06:00
|
|
|
return nil
|
2020-05-24 19:32:19 +02:00
|
|
|
}
|
|
|
|
|
2024-08-26 22:35:22 +02:00
|
|
|
// nodeFillExtendedAttributes is a no-op on AIX.
|
2024-08-26 23:03:25 +02:00
|
|
|
func nodeFillExtendedAttributes(_ *restic.Node, _ string, _ bool) error {
|
2024-05-17 14:18:20 -06:00
|
|
|
return nil
|
2020-05-24 19:32:19 +02:00
|
|
|
}
|
|
|
|
|
2024-08-26 22:35:22 +02:00
|
|
|
// nodeRestoreGenericAttributes is no-op on AIX.
|
2024-08-26 23:03:25 +02:00
|
|
|
func nodeRestoreGenericAttributes(node *restic.Node, _ string, warn func(msg string)) error {
|
|
|
|
return restic.HandleAllUnknownGenericAttributesFound(node.GenericAttributes, warn)
|
2024-02-22 17:31:20 -07:00
|
|
|
}
|
|
|
|
|
2024-08-26 22:35:22 +02:00
|
|
|
// nodeFillGenericAttributes is a no-op on AIX.
|
2024-08-24 23:43:45 +02:00
|
|
|
func nodeFillGenericAttributes(_ *restic.Node, _ string, _ *ExtendedFileInfo) (allowExtended bool, err error) {
|
2024-02-22 17:31:20 -07:00
|
|
|
return true, nil
|
|
|
|
}
|