From d76ff41a9fe6b1f9b9729aafd6d14bdeaca0963f Mon Sep 17 00:00:00 2001 From: alex Date: Tue, 14 Sep 2021 14:47:51 -0700 Subject: [PATCH] updated using git-ex --- todo | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/todo b/todo index 48545c7..e9f5196 100644 --- a/todo +++ b/todo @@ -60,7 +60,7 @@ Stage 0: *added support for file filters *shutdown architecture *setup tests --add option to redirect stdout, stderr to files +*add option to redirect stdout, stderr to files -setup watches *add option to watch directories *add option for worker_threads [default=ncores] @@ -69,8 +69,11 @@ Stage 0: -walk each tree -add each file to add queue -add queue = hashmap to allow for duplicate checking + -add static pointer to current torrent + -add file to current torrent -add pointer to struct file to torrent->files hashmap + file_tree -2 ways to access, file_tree must be sorted, hashmap allows for o(1) reads + -modify adding to queue function to check for duplicates before expanding hashmap -find all files in all directories -functions for traversing directory -man scandir -- 2.39.5