branch: elpa/hyperdrive commit 279b65fc4b25657810a3a17b2431abc864b1a28a Author: Joseph Turner <jos...@ushin.org> Commit: Joseph Turner <jos...@ushin.org>
Comment: (he//invalidate) Add TODO --- hyperdrive-ewoc.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hyperdrive-ewoc.el b/hyperdrive-ewoc.el index 87fc4bc14d..aff27c6b76 100644 --- a/hyperdrive-ewoc.el +++ b/hyperdrive-ewoc.el @@ -59,6 +59,10 @@ Invalidated ewoc node entries will have these slots updated: + BLOCK-LENGTH-DOWNLOADED All other slots in each ewoc node entry data will be reused." + ;; TODO: Invalidate nodes in all buffers showing entry at any version within + ;; its version range (where the blob is the same between multiple versions). + ;; We don't have the range end for ENTRY, so how can we figure out which + ;; versions of directory buffers need to be invalidated? (when-let* ((dir-buffer (hyperdrive--find-buffer-visiting (hyperdrive-parent entry))) (dir-ewoc (buffer-local-value 'h/ewoc dir-buffer))