refactor: circular deps part 15

This commit is contained in:
Nathan Walker
2025-07-11 16:18:14 -07:00
parent e7ab426ee2
commit 35fef40e5b
18 changed files with 697 additions and 690 deletions

View File

@ -1,6 +1,3 @@
// Shared helpers and types for utils, used by both native-helper and common.
// Only put platform-agnostic logic here.
export function getFileExtension(path: string): string {
if (!path) {
return '';
@ -8,5 +5,3 @@ export function getFileExtension(path: string): string {
const index = path.lastIndexOf('.');
return index !== -1 ? path.substring(index + 1) : '';
}
// Add more shared helpers/types/constants as needed.