mirror of
https://github.com/octoleo/restic.git
synced 2024-12-24 03:45:27 +00:00
fs: remove dead code
This commit is contained in:
parent
e2bce1b9ee
commit
b91ef3f1ff
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user