mirror of
https://github.com/restic/restic.git
synced 2025-08-22 13:27:45 +00:00
fs: remove dead code
This commit is contained in:
@@ -23,11 +23,6 @@ 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)
|
||||
|
@@ -20,11 +20,6 @@ func nodeFillExtendedAttributes(_ *restic.Node, _ string, _ bool) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// isListxattrPermissionError is a no-op on netbsd.
|
||||
func isListxattrPermissionError(_ error) bool {
|
||||
return false
|
||||
}
|
||||
|
||||
// nodeRestoreGenericAttributes is no-op on netbsd.
|
||||
func nodeRestoreGenericAttributes(node *restic.Node, _ string, warn func(msg string)) error {
|
||||
return restic.HandleAllUnknownGenericAttributesFound(node.GenericAttributes, warn)
|
||||
|
@@ -20,11 +20,6 @@ func nodeFillExtendedAttributes(_ *restic.Node, _ string, _ bool) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// isListxattrPermissionError is a no-op on openbsd.
|
||||
func isListxattrPermissionError(_ error) bool {
|
||||
return false
|
||||
}
|
||||
|
||||
// nodeRestoreGenericAttributes is no-op on openbsd.
|
||||
func nodeRestoreGenericAttributes(node *restic.Node, _ string, warn func(msg string)) error {
|
||||
return restic.HandleAllUnknownGenericAttributesFound(node.GenericAttributes, warn)
|
||||
|
Reference in New Issue
Block a user