iterative / iterative/PyDrive2

Implement a method to invalidate the cache

Đang mở
#232 0 bình luận 1 reaction 0 người được giao Xem trên GitHub
fs
Ngôn ngữ chính
Python
Star
670
Fork
75
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

As discussed in #217 we need a method / mechanism to invalidate the cache for specific paths.

This is needed because, if the user move / delete a file, and it is still in the cache, the library will continue to 'think' that the file is still in the old location. Leading to unexpected behaviors.

This mechanism is needed in the `mv` and `rm_file` method.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Start by reading the discussion in issue #217 and the existing mv and rm_file methods. Trace how cached paths are stored and used, then define the invalidation behavior for moved and deleted files. Done means those methods no longer leave stale entries that make the library report files at their old locations.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
python
Lĩnh vực
api, backend
Loại issue
Tính năng
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.