diff options
Diffstat (limited to 'src/utils/path.rs')
| -rw-r--r-- | src/utils/path.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/path.rs b/src/utils/path.rs index 4e66337..83e51c7 100644 --- a/src/utils/path.rs +++ b/src/utils/path.rs @@ -42,7 +42,7 @@ pub async fn expand_glob_paths<T: AsRef<str>>(paths: &[T]) -> Result<Vec<String> Ok(new_paths) } -pub fn path_extension(path: &str) -> Option<String> { +pub fn get_patch_extension(path: &str) -> Option<String> { Path::new(&path) .extension() .map(|v| v.to_string_lossy().to_lowercase()) |
