Skip to content
Snippets Groups Projects
  • Yorhel's avatar
    bc8ccc95
    dir_scan.c: Reset directory sizes when excluded by a CACHEDIR.TAG · bc8ccc95
    Yorhel authored
    Tiny bug fix: The size of an excluded directory entry itself should not
    be counted, either. This is consistent with what you'd expect: A cache
    directory with thousands of files can easily take up several megabytes
    for the dir entry - but from the perspective of a backup system that
    recognizes cache dirs - the dir is empty, and therefore shouldn't take
    any extra space at all.
    bc8ccc95
    History
    dir_scan.c: Reset directory sizes when excluded by a CACHEDIR.TAG
    Yorhel authored
    Tiny bug fix: The size of an excluded directory entry itself should not
    be counted, either. This is consistent with what you'd expect: A cache
    directory with thousands of files can easily take up several megabytes
    for the dir entry - but from the perspective of a backup system that
    recognizes cache dirs - the dir is empty, and therefore shouldn't take
    any extra space at all.