Compare commits

..

2 commits

Author SHA1 Message Date
e51f09ccb3 WIP: add github crate
All checks were successful
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
2024-05-26 09:50:07 +01:00
4351fba73a refactor: move repo_clone implementation to git crate
Some checks failed
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/push-next Pipeline failed
ci/woodpecker/push/tag-created Pipeline was successful
Rust / build (push) Successful in 2m14s
2024-05-26 09:46:36 +01:00

View file

@ -35,6 +35,7 @@ impl git::ForgeLike for ForgeJo {
branch: &config::BranchName, branch: &config::BranchName,
file_path: &str, file_path: &str,
) -> Result<String, git::file::Error> { ) -> Result<String, git::file::Error> {
// TODO: get from local cloned repo
file::contents_get(&self.repo_details, &self.net, branch, file_path).await file::contents_get(&self.repo_details, &self.net, branch, file_path).await
} }