pub fn build_partial_tree( repo: &Repository, source_tree: &Tree<'_>, files: &[&Path], ) -> Result<ObjectId, GitError>
Build a partial tree containing only the specified files from a source tree.