restorer: Add a note on hardlink metadata

Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
This commit is contained in:
Igor Fedorenko authored and Alexander Neumann committed 2018-10-14 17:39:42 +02:00
1 parent 9e24154ec9
commit c2bcb764cd
1 file changed
+2 -1
+2 -1
View File
@@ -171,7 +171,8 @@ func (res *Restorer) restoreHardlinkAt(node *restic.Node, target, path, location
if err != nil {
return errors.Wrap(err, "CreateHardlink")
}
return res.restoreNodeMetadataTo(node, target, location)
// TODO investigate if hardlinks have separate metadata on any supported system
return res.restoreNodeMetadataTo(node, path, location)
}
// RestoreTo creates the directories and files in the snapshot below dst.