mirror of
https://github.com/Kozea/Radicale.git
synced 2025-09-15 20:36:55 +00:00
use_cache_subfolder_for_item: feature
This commit is contained in:
parent
f754f28518
commit
0fe53e62db
5 changed files with 17 additions and 6 deletions
|
@ -41,9 +41,9 @@ class StoragePartMove(StorageBase):
|
|||
if item.collection._filesystem_path != to_collection._filesystem_path:
|
||||
self._sync_directory(item.collection._filesystem_path)
|
||||
# Move the item cache entry
|
||||
cache_folder = os.path.join(item.collection._filesystem_path,
|
||||
cache_folder = self._get_collection_cache_folder(item.collection._filesystem_path,
|
||||
".Radicale.cache", "item")
|
||||
to_cache_folder = os.path.join(to_collection._filesystem_path,
|
||||
to_cache_folder = self._get_collection_cache_folder(to_collection._filesystem_path,
|
||||
".Radicale.cache", "item")
|
||||
self._makedirs_synced(to_cache_folder)
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue