-peers
-setup watches
*add option to watch directories
- -add option for worker_threads [default=ncores]
- -find all files in directory
+ *add option for worker_threads [default=ncores]
+ -figure out files organization
+ -store in files object
+ -store inside respective struct torrent
+ -both?
+ -file to process queue + in respective torrents
+ -handle duplicates?
+ -find all files in all directories
-functions for traversing directory
+ -man scandir
+ -man nftw <-- this probably?
+ -https://stackoverflow.com/questions/66936692/how-to-use-scandir-in-c-to-list-sorted-subdirectories-recursively
-save to struct with file size
- -multi-threaded add (spawn new thread per file)
+ -multi-threaded add, spawn opt.worker_threads # of threads
+ -add to torrent(s)
-sort in torrent struct after all done
- -on modification, update torrents
--add files to torrent
+ -on modification
+ -update torrents?
+ -build+replace existing torrent
-create torrent
-build merkle tree
-bencode