Skip to content

Conversation

@Ian-Fogelman
Copy link
Contributor

@Ian-Fogelman Ian-Fogelman commented Dec 11, 2025

Description

  • Adding a utils.rs file, that contains a function is_git_installed(). Git is a absolute requirement for ducke to run, therefore it makes sense to check at initalization for git to be installed. This is facilitated through a subprocess in rust which returns true or false, with both a positive and negative reinforcement message.

Related Issue

Closes #15

Demo (if visible change)

ducke_precheck

Checklist

  • Tests pass locally and in CI
  • No lint errors
  • I have self-reviewed my code

Copy link
Contributor

@branberry branberry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great!!!

@Ian-Fogelman
Copy link
Contributor Author

This looks great!!!

Thanks!!!

@Ian-Fogelman Ian-Fogelman merged commit 2aaf142 into main Dec 11, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Precheck for Git on System

3 participants