Skip to content

Commit eae56e1

Browse files
Refactor: Update cache directory names to use 'photosort' prefix
1 parent 51cb854 commit eae56e1

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

src/core/caching/exif_cache.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
# Default path for the EXIF metadata cache
1717
DEFAULT_EXIF_CACHE_DIR = os.path.join(
18-
os.path.expanduser("~"), ".cache", "phototagger_exif_data"
18+
os.path.expanduser("~"), ".cache", "photosort_exif_data"
1919
)
2020
# DEFAULT_EXIF_CACHE_SIZE_LIMIT_MB is now managed by app_settings
2121

src/core/caching/preview_cache.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
# Default path for the preview PIL image cache
1717
DEFAULT_PREVIEW_CACHE_DIR = os.path.join(
18-
os.path.expanduser("~"), ".cache", "phototagger_preview_pil_images"
18+
os.path.expanduser("~"), ".cache", "photosort_preview_pil_images"
1919
)
2020

2121

src/core/caching/rating_cache.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
# Default path for the rating cache
1111
DEFAULT_RATING_CACHE_DIR = os.path.join(
12-
os.path.expanduser("~"), ".cache", "phototagger_ratings"
12+
os.path.expanduser("~"), ".cache", "photosort_ratings"
1313
)
1414

1515

src/core/caching/thumbnail_cache.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
# Default path for the thumbnail cache
1515
DEFAULT_THUMBNAIL_CACHE_DIR = os.path.join(
16-
os.path.expanduser("~"), ".cache", "phototagger_thumbnails"
16+
os.path.expanduser("~"), ".cache", "photosort_thumbnails"
1717
)
1818

1919

src/core/similarity_engine.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
# Define constants for model and cache
3434
# DEFAULT_CLIP_MODEL = 'clip-ViT-B-32' # Moved to app_settings
3535
EMBEDDING_CACHE_DIR = os.path.join(
36-
os.path.expanduser("~"), ".cache", "phototagger_embeddings"
36+
os.path.expanduser("~"), ".cache", "photosort_embeddings"
3737
)
3838
os.makedirs(EMBEDDING_CACHE_DIR, exist_ok=True)
3939

0 commit comments

Comments
 (0)