Skip to main content

build_partial_tree

Function build_partial_tree 

Source
pub fn build_partial_tree(
    repo: &Repository,
    source_tree: &Tree<'_>,
    files: &[&Path],
) -> Result<ObjectId, GitError>
Expand description

Build a partial tree containing only the specified files from a source tree.