History

Reuse digest

Caveat emptor - TOCTOU.

malc committed 6 years ago

Commit 56507f61 parent fec82262 files · +5 −4Browse files

Unified · Split

2 files
  1. config.ml +5 −3
  2. todo.org +0 −1
config.ml+5−3
@@ -1522,9 +1522,11 @@ let save1 bb leavebirdseye x h dc = · 1521 unmodified lines
1522 | View1522 | View
1523 | LinkNav _ -> ()1523 | LinkNav _ -> ()
1524 end;1524 end;
1525 let key = try Digest.file docpath |> Digest.to_hex1525 let key =
1526 with _ -> E.s in1526 if emptystr conf.key
1527 { conf with autoscrollstep; key }1527 then (try Digest.file docpath |> Digest.to_hex with _ -> E.s)
1528 else conf.key
1529 in { conf with autoscrollstep; key }
1528 )1530 )
1529 state.bookmarks1531 state.bookmarks
1530 (now ())1532 (now ())
todo.org+0−1
@@ -17,4 +17,3 @@ · 16 unmodified lines
17 just 2 threads (event loop, display/mupdf rendering) is not fast17 just 2 threads (event loop, display/mupdf rendering) is not fast
18 enough.18 enough.
19* TODO wikit - https://github.com/moosotc/llpp/issues/12819* TODO wikit - https://github.com/moosotc/llpp/issues/128
20* TODO digest caching

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t