]> git.ipfire.org Git - thirdparty/mkosi.git/commit
Add move_tree() 1692/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 21 Jul 2023 19:13:05 +0000 (21:13 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Sat, 22 Jul 2023 18:06:31 +0000 (20:06 +0200)
commitd8d795593f60fccd41a627f5f44a7a3f76ac148d
tree46ebfbfd8b575b71e7b1e9d37a4af261fcae05cf
parent6975fd1937cfc9a39696c7636fad58037e2dc02f
Add move_tree()

This function is intended to be a more efficient way of moving trees
than shutil.move(). Specifically, it will use reflinks and btrfs
snapshots if possible to make copying more efficient.
mkosi/__init__.py
mkosi/run.py
mkosi/tree.py