From: alex Date: Tue, 14 Sep 2021 21:47:51 +0000 (-0700) Subject: updated using git-ex X-Git-Url: http://git.infiniteadaptability.org/?a=commitdiff_plain;h=d76ff41a9fe6b1f9b9729aafd6d14bdeaca0963f;p=seeder updated using git-ex --- 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