Thomas Waldmann před 3 roky
rodič
revize
1fd571a4d0
2 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 1 1
      src/borg/archiver.py
  2. 1 1
      src/borg/cache.py

+ 1 - 1
src/borg/archiver.py

@@ -443,7 +443,7 @@ class Archiver:
                                     chunks.append(chunk_entry)
                                 present_size += size
                         if not dry_run:
-                            item.chunks = chunks  # overwrite! IDs and sizes are same, csizes are likely different
+                            item.chunks = chunks  # TODO: overwrite? IDs and sizes are same.
                             archive.stats.nfiles += 1
                     if not dry_run:
                         archive.add_item(upgrade_item(item))

+ 1 - 1
src/borg/cache.py

@@ -1015,7 +1015,7 @@ class AdHocCache(CacheStatsMixin):
 
     Compared to the standard LocalCache the AdHocCache does not maintain accurate reference count,
     nor does it provide a files cache (which would require persistence). Chunks that were not added
-    during the current AdHocCache lifetime won't have correct size/csize set (0 bytes) and will
+    during the current AdHocCache lifetime won't have correct size set (0 bytes) and will
     have an infinite reference count (MAX_VALUE).
     """