style: move lib outside of app folder

This commit is contained in:
2026-06-18 21:55:23 -03:00
parent 952de164b9
commit 1fd36a39fd
3 changed files with 2 additions and 2 deletions
+9
View File
@@ -0,0 +1,9 @@
export const getFileName = (iconFilePath: string): string => {
const base = iconFilePath.split('/').pop() ?? '';
return base.split('.')[0];
};
export const cleanFolderName = (name: string): string =>
name.replace(/[\\/:*?"<>|]/g, '_');
export const isKiller = (idx: number): boolean => idx >= 268435456;