mirror of
https://github.com/restic/restic.git
synced 2025-12-11 18:47:50 +00:00
node: report error on xattr retrieval using standard error logging
This commit is contained in:
@@ -48,5 +48,5 @@ type File interface {
|
||||
// ToNode returns a restic.Node for the File. The internally used os.FileInfo
|
||||
// must be consistent with that returned by Stat(). In particular, the metadata
|
||||
// returned by consecutive calls to Stat() and ToNode() must match.
|
||||
ToNode(ignoreXattrListError bool) (*restic.Node, error)
|
||||
ToNode(ignoreXattrListError bool, warnf func(format string, args ...any)) (*restic.Node, error)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user