From 768fe91caa676e4501aa26e14e01ca47f3ea4ca1 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Wed, 31 Dec 2025 09:18:21 +0000 Subject: purgatory: fix pr event recieve code --- src/git/mod.rs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/git') diff --git a/src/git/mod.rs b/src/git/mod.rs index 1847c8c..d34f98b 100644 --- a/src/git/mod.rs +++ b/src/git/mod.rs @@ -94,10 +94,6 @@ pub fn oid_exists(repo_path: &Path, oid: &str) -> bool { } } -pub fn is_valid_oid(oid: &str) -> bool { - oid.len() >= 5 && oid.len() <= 40 && oid.chars().all(|c| c.is_digit(16)) -} - /// Set the repository HEAD to point to a branch /// /// This updates the HEAD symbolic ref to point to the specified branch. -- cgit v1.2.3