Function ghp::import_dir [] [src]

pub fn import_dir<P>(dir: P, branch: &str, message: &str) -> Result<()> where
    P: AsRef<Path> + Clone

import_dir takes a directory, a branch and a message and will create a commit on that branch with the contents of the directory.