OSTree has support for pairing ostree_repo_checkout_tree_at() using
hardlinks in combination with a later
ostree_repo_write_directory_to_mtree() using a (normally modified)
directory. In order for OSTree to optimally detect just the new
files, use this function and fill in the devino_to_csum_cache
member of OstreeRepoCheckoutAtOptions
, then call
ostree_repo_commit_set_devino_cache().
OSTree has support for pairing ostree_repo_checkout_tree_at() using hardlinks in combination with a later ostree_repo_write_directory_to_mtree() using a (normally modified) directory. In order for OSTree to optimally detect just the new files, use this function and fill in the
devino_to_csum_cache
member ofOstreeRepoCheckoutAtOptions
, then call ostree_repo_commit_set_devino_cache().