1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-08-16 19:00:54 +00:00

use_cache_subfolder_for_item: feature

This commit is contained in:
Peter Bieringer 2024-12-03 21:32:57 +01:00
parent f754f28518
commit 0fe53e62db
5 changed files with 17 additions and 6 deletions

View file

@ -75,7 +75,7 @@ class CollectionPartUpload(CollectionPartGet, CollectionPartCache,
yield radicale_item.find_available_uid(
lambda href: not is_safe_free_href(href), suffix)
cache_folder = os.path.join(self._filesystem_path,
cache_folder = self._storage._get_collection_cache_folder(self._filesystem_path,
".Radicale.cache", "item")
self._storage._makedirs_synced(cache_folder)
for item in items: