updated using git-extra
authoralex <[email protected]>
Sun, 17 Oct 2021 07:03:08 +0000 (00:03 -0700)
committeralex <[email protected]>
Sun, 17 Oct 2021 07:03:08 +0000 (00:03 -0700)
todo

diff --git a/todo b/todo
index 0a91e709e404160d5ae343c63b4a2ee1b48832c5..2c59e6afd15df682168a54eb2d8e713de407a3e8 100644 (file)
--- a/todo
+++ b/todo
@@ -63,25 +63,12 @@ Stage 0:
        *add option to watch directories
        *add option for worker_threads [default=ncores]
        *add default watch directories
-       -foreach watch directory
-               *walk each tree
-               *add each file to add queue
-               *modify adding to queue function to check for duplicates before expanding hashmap
-               -add static pointer to current torrent
-                       -see torrent_add
-                       -tree_add+associated functions
-                               *decide on data organization
-                       -tree_remove
-                       -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
+       *foreach watch directory
        -add all files in add queue
                -multi-threaded add, spawn opt.worker_threads # of threads
                -figure out what hashing needs to be done
-               -create tree_sort method
        -on modification
                -update files
-               -call tree_sort()
                -build+replace existing torrent
 -create torrent
        -build merkle tree
@@ -89,6 +76,8 @@ Stage 0:
        -.torrent file
        -magnet link
 -tests
+       -tree
+       -torrent
 -signal handler
 -daemonize
 -networking