mirror of
https://github.com/immich-app/immich.git
synced 2025-06-03 01:47:33 +02:00
* refactor: job to domain * chore: regenerate open api * chore: tests * fix: missing breaks * fix: get asset with missing exif data --------- Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
6 lines
158 B
TypeScript
6 lines
158 B
TypeScript
import { basename, extname } from 'node:path';
|
|
|
|
export function getFileNameWithoutExtension(path: string): string {
|
|
return basename(path, extname(path));
|
|
}
|