diff options
Diffstat (limited to 'crates/mozart-vcs/src/downloader/git.rs')
| -rw-r--r-- | crates/mozart-vcs/src/downloader/git.rs | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/crates/mozart-vcs/src/downloader/git.rs b/crates/mozart-vcs/src/downloader/git.rs index 0c78f89..814d67e 100644 --- a/crates/mozart-vcs/src/downloader/git.rs +++ b/crates/mozart-vcs/src/downloader/git.rs @@ -96,7 +96,7 @@ impl VcsDownloader for GitDownloader { Ok(()) } - fn local_changes(&self, target: &Path) -> Result<Option<String>> { + fn get_local_changes(&self, target: &Path) -> Result<Option<String>> { if !target.join(".git").exists() { return Ok(None); } @@ -223,6 +223,18 @@ impl VcsDownloader for GitDownloader { )?; Ok(output.stdout) } + + fn is_change_report(&self) -> bool { + true + } + + fn is_vcs_capable_downloader(&self) -> bool { + true + } + + fn is_dvcs_downloader(&self) -> bool { + true + } } fn collect_show_ref(process: &ProcessExecutor, target: &Path) -> Result<Option<String>> { |
