nargo-types 0.0.1

Nargo common types and error handling
Documentation
//! Git operations for Nargo.

use crate::errors::Result;
use std::path::Path;

/// Git operations handler.
pub struct NargoGit;

impl NargoGit {
    /// Get git status for a repository.
    pub fn get_status(_path: &Path) -> Result<Vec<(String, String)>> {
        Ok(vec![])
    }

    /// Get current branch name.
    pub fn get_current_branch(_path: &Path) -> Result<String> {
        Ok("main".to_string())
    }
}