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