Skip to content
Snippets Groups Projects
Commit 9fea5c12 authored by nfontrod's avatar nfontrod
Browse files

src/init.rs: change doc for get_borg_folder function

parent 0af5d911
No related branches found
No related tags found
No related merge requests found
use std::path::PathBuf;
use std::process::{exit, Command};
/// Function used to get git folder
/// Function used to get borg repository folder and results repository only if
/// the project is inside a git repository
pub fn get_borg_folder() -> (PathBuf, PathBuf) {
let output = Command::new("git")
.arg("rev-parse")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment