Author: Kevin Schoon [kevinschoon@gmail.com]
Hash: 09c1616d5c9f28f479ce7bd2404b6d8454b5480c
Timestamp: Fri, 18 Jun 2021 15:26:20 +0000 (3 years ago)

+0 -6 +/-1 browse
rm dead code
1diff --git a/bin/note.ml b/bin/note.ml
2index 01f0a50..e73d549 100644
3--- a/bin/note.ml
4+++ b/bin/note.ml
5 @@ -23,12 +23,6 @@ title: "%s"
6 # %s
7 |} title title |> Note.of_string
8
9- let rec convert_tree tree =
10- let (Note.Tree (note, others)) = tree in
11- let title = note.frontmatter.title in
12- let title = "[" ^ title ^ "]" in
13- Display.Hierarchical.Tree (title, List.map ~f:convert_tree others)
14-
15 let get_notes =
16 let notes = cfg.state_dir |> Note.load ~context |> Note.flatten ~accm:[] in
17 notes