diff options
author | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2024-08-19 09:58:42 +0200 |
---|---|---|
committer | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2024-08-26 12:12:02 +0200 |
commit | 959523b077acdbd75adc4c6328e45c43cda3087c (patch) | |
tree | 83d1d61b2f83c04c58b0df925b4fece3a48276ab /test/utils/cpp/file_locking.test.cpp | |
parent | c889b852a652115f4a6936a96ebdee9410571997 (diff) | |
download | justbuild-959523b077acdbd75adc4c6328e45c43cda3087c.tar.gz |
GitRepo: Add method to create tree from directory
The tree is traversed bottom-up and each entry is explicitly added
to the object database: non-directory entries have their content
read and are added as blobs with corresponding permissions based on
file type (regular, executable, symlink), while subdirectories are
added as trees via CreateTree based on the already added blobs.
Diffstat (limited to 'test/utils/cpp/file_locking.test.cpp')
0 files changed, 0 insertions, 0 deletions