1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-26 01:37:20 +00:00
borg/docs/internals
Thomas Waldmann 6bfdb3f630 refactor hardlink_master processing globally
borg now has the chunks list in every item with content.
due to the symmetric way how borg now deals with hardlinks using
item.hlid, processing gets much simpler.

but some places where borg deals with other "sources" of hardlinks
still need to do some hardlink management:
borg uses the HardLinkManager there now (which is not much more
than a dict, but keeps documentation at one place and avoids some
code duplication we had before).

item.hlid is computed via hardlink_id function.

support hardlinked symlinks, fixes #2379
as we use item.hlid now to group hardlinks together,
there is no conflict with the item.source usage for
symlink targets any more.

2nd+ hardlinks now add to the files count as did the 1st one.
for borg, now all hardlinks are created equal.
so any hardlink item with chunks now adds to the "file" count.

ItemFormatter: support {hlid} instead of {source} for hardlinks
2022-05-18 14:20:01 +02:00
..
compaction.png docs/data structures: add simple example compaction run 2017-05-22 13:19:18 +02:00
compaction.vsd docs/data structures: add simple example compaction run 2017-05-22 13:19:18 +02:00
data-structures.rst refactor hardlink_master processing globally 2022-05-18 14:20:01 +02:00
encryption-aead.odg add encryption-aead diagram 2022-03-26 17:05:57 +01:00
encryption-aead.png add encryption-aead diagram 2022-03-26 17:05:57 +01:00
encryption.png docs/data structures: add chunk layout diagram 2017-05-21 16:40:10 +02:00
encryption.vsd docs/data structures: add chunk layout diagram 2017-05-21 16:40:10 +02:00
frontends.rst Fix typos (#6688) 2022-05-15 21:23:48 +02:00
object-graph.png docs: internals: edited HashIndex 2017-06-04 22:44:29 +02:00
object-graph.vsd docs: internals: edited HashIndex 2017-06-04 22:44:29 +02:00
security.rst docs: authentication primitives: improved security and performance infos (master) (#6667) 2022-05-14 22:57:22 +02:00
structure.png docs/internals: layers image; Blimey! it's one pixel off! 2017-06-04 22:23:54 +02:00
structure.vsd docs/internals: layers image; Blimey! it's one pixel off! 2017-06-04 22:23:54 +02:00