borgbackup / borgbackup/borg

directory content is only implicitly known

Open
#32 6 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
13.7k
Forks
875
Avg merge
11h 15m
Merged PRs (30d)
192

Description

when storing a directory, only the directory name and some metadata is stored into the repo, but not the names it contains.
- each file is stored with full path, thus using that, they are restored into the correct directory.
- but, at extraction time, we can not process a list of directory contents and KNOW when we are finished with it. we just encounter the directory member names while extracting files, but we never know when we are finished with a directory.
- if operating strictly sequentially, we can deduct when we are finished with a directory because we know the traversal mechanism that created the archive. but if that strict sequential processing is not available (e.g. due to multithreaded processing in future), we can not set the directory mtime until the very end of the extract operation, because there could be always another directory member coming...

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.