Trait PatchDiff

Source
pub trait PatchDiff {
    // Required methods
    fn to_patch(&self, max_token_count: usize, model: Model) -> Result<String>;
    fn collect_diff_data(&self) -> Result<HashMap<PathBuf, String>>;
    fn is_empty(&self) -> Result<bool>;
}

Required Methods§

Source

fn to_patch(&self, max_token_count: usize, model: Model) -> Result<String>

Source

fn collect_diff_data(&self) -> Result<HashMap<PathBuf, String>>

Source

fn is_empty(&self) -> Result<bool>

Implementations on Foreign Types§

Source§

impl PatchDiff for Diff<'_>

Implementors§