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