mirror of
https://github.com/Art051/immich.git
synced 2025-08-11 19:29:00 +00:00
feat(server): in upload folder, split the files into folders based on the first four of the files uuid (#6175)
This commit is contained in:
2
server/test/fixtures/file.stub.ts
vendored
2
server/test/fixtures/file.stub.ts
vendored
@@ -1,10 +1,12 @@
|
||||
export const fileStub = {
|
||||
livePhotoStill: Object.freeze({
|
||||
uuid: 'random-uuid',
|
||||
originalPath: 'fake_path/asset_1.jpeg',
|
||||
checksum: Buffer.from('file hash', 'utf8'),
|
||||
originalName: 'asset_1.jpeg',
|
||||
}),
|
||||
livePhotoMotion: Object.freeze({
|
||||
uuid: 'random-uuid',
|
||||
originalPath: 'fake_path/asset_1.mp4',
|
||||
checksum: Buffer.from('live photo file hash', 'utf8'),
|
||||
originalName: 'asset_1.mp4',
|
||||
|
||||
Reference in New Issue
Block a user